diff --git a/roles/pdc/frontend/templates/pdc.conf b/roles/pdc/frontend/templates/pdc.conf index 1208623c68..94c52b9a4d 100644 --- a/roles/pdc/frontend/templates/pdc.conf +++ b/roles/pdc/frontend/templates/pdc.conf @@ -1,5 +1,5 @@ -Alias /docs/ /usr/share/doc/pdc/docs/build/html/ -Alias /saml2protected /usr/share/ipsilon/ui/saml2sp +Alias /pdc/docs/ /usr/share/doc/pdc/docs/build/html/ +Alias /pdc/saml2protected /usr/share/ipsilon/ui/saml2sp WSGIDaemonProcess pdc user=apache group=apache maximum-requests=1000 display-name=pdc processes={{ wsgi_procs }} threads={{ wsgi_threads }} WSGISocketPrefix run/wsgi @@ -7,14 +7,14 @@ WSGIRestrictStdout On WSGIRestrictSignal Off WSGIPythonOptimize 1 -WSGIScriptAlias / /usr/lib/python2.7/site-packages/pdc/wsgi.py +WSGIScriptAlias /pdc/ /usr/lib/python2.7/site-packages/pdc/wsgi.py RewriteEngine on # First try to find the files in pdc RewriteCond "/usr/lib/python2.7/site-packages/pdc/static/$1" -f -RewriteRule "^/static/(.*)" "/usr/lib/python2.7/site-packages/pdc/static/$1" [L] +RewriteRule "^/pdc/static/(.*)" "/usr/lib/python2.7/site-packages/pdc/static/$1" [L] # Try to find them in the patternfly files -RewriteRule "^/static/(.*)" "/usr/share/patternfly1/resources/$1" [L] +RewriteRule "^/pdc/static/(.*)" "/usr/share/patternfly1/resources/$1" [L] SetHandler wsgi-script