Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
451b93e0
Commit
451b93e0
authored
Feb 13, 2012
by
Jonathon Duerig
Browse files
Add Emulab's XMLRPC port to flash permission server.
parent
c8ed52bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/libinstall.pm.in
View file @
451b93e0
...
...
@@ -16,6 +16,7 @@ use vars qw(@EXPORT $TOP_OBJDIR $TOP_SRCDIR $ELABINELAB
$PROJROOT $PROTOUSER $WAP
$SQL_UPDATE_MAJOR_REVISION $INSTALL_UPDATE_MAJOR_REVISION
$HAVE_XERCES $PROTOGENI_RPCNAME $PROTOGENI_RPCPORT
$OUTERBOSS_XMLRPCPORT
$INSTALL_APACHE_CONFIG $APACHE_VERSION $APACHE_START_COMMAND)
;
@EXPORT
=
qw($TOP_OBJDIR $TOP_SRCDIR $ELABINELAB
...
...
@@ -24,6 +25,7 @@ use vars qw(@EXPORT $TOP_OBJDIR $TOP_SRCDIR $ELABINELAB
$PROJROOT $PROTOUSER $WAP
$SQL_UPDATE_MAJOR_REVISION $INSTALL_UPDATE_MAJOR_REVISION
$HAVE_XERCES $PROTOGENI_RPCNAME $PROTOGENI_RPCPORT
$OUTERBOSS_XMLRPCPORT
$INSTALL_APACHE_CONFIG $APACHE_VERSION $APACHE_START_COMMAND)
;
# Configure variables
...
...
@@ -52,6 +54,7 @@ $APACHE_VERSION = "@APACHE_VERSION@";
$APACHE_START_COMMAND
=
"
@APACHE_START_COMMAND
@
";
$PROTOGENI_RPCNAME
=
"
@PROTOGENI_RPCNAME
@
";
$PROTOGENI_RPCPORT
=
"
@PROTOGENI_RPCPORT
@
";
$OUTERBOSS_XMLRPCPORT
=
"
@OUTERBOSS_XMLRPCPORT
@
";
# Change these if the major numbers in sql/updates or install/updates
# are changed.
...
...
protogeni/scripts/initsite.in
View file @
451b93e0
...
...
@@ -32,6 +32,7 @@ my $PGENIDOMAIN = "@PROTOGENI_DOMAIN@";
my
$PGENISUPPORT
=
@PROTOGENI_SUPPORT@
;
my
$PROTOGENI_RPCNAME
=
"
@PROTOGENI_RPCNAME
@
";
my
$PROTOGENI_RPCPORT
=
"
@PROTOGENI_RPCPORT
@
";
my
$OUTERBOSS_XMLRPCPORT
=
"
@OUTERBOSS_XMLRPCPORT
@
";
my
$PROTOGENI_WEBSITE
=
"
@PROTOGENI_WEBSITE
@
";
my
$PROTOGENI_URL
=
"
@PROTOGENI_URL
@
";
my
$geniuserid
=
"
geniuser
";
...
...
@@ -277,7 +278,7 @@ close CROSS_OUT;
chmod
(
0644
,
"
$TB
/www/protogeni/crossdomain.xml
");
my
$FLASH_LINE
=
"
flashpolicy stream tcp nowait root /bin/echo /bin/echo '<cross-domain-policy> <site-control permitted-cross-domain-policies=
\"
master-only
\"
/> <allow-access-from domain=
\"
*
\"
to-ports=
\"
80,443,
$PROTOGENI_RPCPORT
\"
/> </cross-domain-policy>'
";
my
$FLASH_LINE
=
"
flashpolicy stream tcp nowait root /bin/echo /bin/echo '<cross-domain-policy> <site-control permitted-cross-domain-policies=
\"
master-only
\"
/> <allow-access-from domain=
\"
*
\"
to-ports=
\"
80,443,
$PROTOGENI_RPCPORT
,
$OUTERBOSS_XMLRPCPORT
\"
/> </cross-domain-policy>'
";
my
$restartinetd
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment