Changes between Version 49 and Version 50 of Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup


Ignore:
Timestamp:
Jun 21, 2013, 9:20:26 PM (11 years ago)
Author:
ParviK
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup

    v49 v50  
    388388   ldapsearch -x localhost -D "cn=admin,dc=orbit-=lab,dc=org" -W -b "dc=orbit-lab,dc=org" uid=*
    389389}}}
     390
     391
     392====== Configuring apache web server ======
     393
     3941. For the file /etc/apache2/sites-available/default
     395In the following we are assuming that <host> is the internal hostname or IP address of the machine running the login AM, and <port> is the IP port on which the service is running (default is 5052 for OMF 5.2 services). For example, forn internal IP 172.16.250.7 and port 5025 the <host>:<port> would be: 172.16.250.7:5052.
     396
     397ServerName <server_name>
     398{{{
     399
     400 ProxyPass /status "http://<host>:<port>/public_html/"
     401  <Location /status>
     402    Order allow,deny
     403    Allow from all
     404  </Location>
     405
     406  ProxyPass /userManagement "http://<host>:<port>/login/userManagement"
     407  <Location /userManagement>
     408    Order allow,deny
     409    Allow from all
     410  </Location>
     411
     412}}}
     413
     414Note: If you change baseURL and publicURL in login.yaml it is necessary to change corresponding values in apache default file.
     415
     4162. For SSL services (in /etc/apache2/sites-available/default-ssl) we need:
     417
     418{{{
     419  ProxyPass /schedule/  "http://<host>:<port>/login/ShowScheduler"
     420  <Location /schedule>
     421    Order allow,deny
     422    Allow from all
     423  </Location>
     424
     425  ProxyPass /loginService/  http://<host>:<port>/login/
     426  <Location  /loginService>
     427     AllowOverride None
     428     order allow,deny
     429     allow from all
     430  </Location>
     431  <Proxy http://<host>:<port>/login/*>
     432     AllowOverride None
     433     order allow,deny
     434     allow from all
     435   </Proxy>
     436}}}