pdc url prefix.
This commit is contained in:
parent
fbb1fb35b0
commit
4ee07e345a
1 changed files with 5 additions and 5 deletions
|
@ -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]
|
||||
|
||||
<Location "/">
|
||||
SetHandler wsgi-script
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue