intranet-proxy : mise à jour du code en production
[progfou.git] / intranet-proxy / templates / apache-site.conf
1
2 RedirectMatch ^/-/@SITE_NAME@$ /-/@SITE_NAME@/
3 ProxyPass /-/@SITE_NAME@/ http://@SITE_NAME@/
4 ProxyPassReverse /-/@SITE_NAME@/ http://@SITE_NAME@/
5 #ProxyPassReverseCookiePath /-/@SITE_NAME@ /
6 ProxyHTMLURLMap http://@SITE_NAME@ /-/@SITE_NAME@
7 ExtFilterDefine CSS_url_@SITE_VAR@ mode=output intype=text/css cmd="/bin/sed s|url(['\"]\\?/\\([^)'\"]*\\)['\"]\\?)|url(\"/-/@SITE_NAME@/\\1\")|"
8 <Location /-/@SITE_NAME@/>
9         ProxyPassReverse /
10         ProxyHTMLURLMap / /-/@SITE_NAME@/ @SITE_OPTIONS@
11         RequestHeader unset Accept-Encoding
12         SetOutputFilter proxy-html;CSS_url_@SITE_VAR@
13         #ExtFilterOptions LogStderr
14 </Location>