From 4ee07e345a9f8c038e0d4ecb6665433099f2e3bf Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 12 Jan 2016 13:43:22 -0500 Subject: [PATCH] pdc url prefix. --- roles/pdc/frontend/templates/pdc.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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