Update apache proxy htaccess

This commit is contained in:
Glenn Y. Rolland 2018-12-25 19:08:16 +01:00
parent 8dd0525ceb
commit dbb4409838

View file

@ -3,8 +3,7 @@
# Add htaccess configuration # Add htaccess configuration
cat >> /var/www/html/.htaccess <<MARK cat >> /var/www/html/.htaccess <<MARK
<IfModule mod_proxy.c> <IfModule mod_proxy.c>
ProxyPass /sites/ http://localhost/index.php/apps/cms_pico/pico/ RewriteRule ^sites/(.*) http://127.0.0.1/index.php/apps/cms_pico/pico/$1 [P]
ProxyPassReverse /sites/ http://localhost/index.php/apps/cms_pico/pico/
</IfModule> </IfModule>
MARK MARK