mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
do everything with substitute
This commit is contained in:
parent
045d120244
commit
4aafe49443
1 changed files with 10 additions and 33 deletions
|
@ -1,39 +1,16 @@
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ProxyRequests Off
|
RewriteEngine on
|
||||||
ProxyVia Off
|
|
||||||
|
|
||||||
ProxyPass /kalite http://127.0.0.1:8008
|
RewriteRule "^/kalite(.*)" "http://127.0.0.1:8008$1"
|
||||||
ProxyPassReverse /kalite http://127.0.0.1:8008
|
|
||||||
|
|
||||||
ProxyPass "/learn" "http://127.0.0.1:8008/learn"
|
|
||||||
ProxyPassReverse "/learn" "http://127.0.0.1:8008/learn"
|
|
||||||
|
|
||||||
ProxyPass "/kalite_mgmt" "http://127.0.0.1:8008/management"
|
|
||||||
ProxyPassReverse "/kalite_mgmt" "http://127.0.0.1:8008/management"
|
|
||||||
|
|
||||||
ProxyPass "/coachreports" "http://127.0.0.1:8008/coachreports"
|
|
||||||
ProxyPassReverse "/coachreports" "http://127.0.0.1:8008/coachreports"
|
|
||||||
|
|
||||||
ProxyPass "/static" "http://127.0.0.1:8008/static"
|
|
||||||
ProxyPassReverse "/static" "http://127.0.0.1:8008/static"
|
|
||||||
|
|
||||||
ProxyPass "/update" "http://127.0.0.1:8008/update"
|
|
||||||
ProxyPassReverse "/update" "http://127.0.0.1:8008/update"
|
|
||||||
|
|
||||||
ProxyPass "/_generated" "http://127.0.0.1:8008/_generated"
|
|
||||||
ProxyPassReverse "/_generated" "http://127.0.0.1:8008/_generated"
|
|
||||||
|
|
||||||
ProxyPass "/securesync" "http://127.0.0.1:8008/securesync"
|
|
||||||
ProxyPassReverse "/securesync" "http://127.0.0.1:8008/securesync"
|
|
||||||
|
|
||||||
ProxyPass "/api" "http://127.0.0.1:8008/api"
|
|
||||||
ProxyPassReverse "/api" "http://127.0.0.1:8008/api"
|
|
||||||
|
|
||||||
ProxyPass "/kalite_content" "http://127.0.0.1:8008/content"
|
|
||||||
ProxyPassReverse "/kalite_content" "http://127.0.0.1:8008/content"
|
|
||||||
|
|
||||||
AddOutputFilterByType SUBSTITUTE text/html
|
AddOutputFilterByType SUBSTITUTE text/html
|
||||||
Substitute "s|/management/|/kalite_mgmt/|i"
|
Substitute "s|/management/|/kalite/management/|i"
|
||||||
Substitute "s|/content/|/kalite_content/|i"
|
Substitute "s|/coachreports/|/kalite/coachreports/|i"
|
||||||
|
Substitute "s|/static/|/kalite/static/|i"
|
||||||
|
Substitute "s|/update/|/kalite/update/|i"
|
||||||
|
Substitute "s|/_generated/|/kalite/_generated/|i"
|
||||||
|
Substitute "s|/securesync/|/kalite/securesync/|i"
|
||||||
|
Substitute "s|/api/|/kalite/api/|i"
|
||||||
|
Substitute "s|/content/|/kalite/content/|i"
|
||||||
|
|
||||||
</VirtualHost >
|
</VirtualHost >
|
||||||
|
|
Loading…
Reference in a new issue