Update apache proxy htaccess
This commit is contained in:
parent
8dd0525ceb
commit
dbb4409838
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,7 @@
|
|||
# Add htaccess configuration
|
||||
cat >> /var/www/html/.htaccess <<MARK
|
||||
<IfModule mod_proxy.c>
|
||||
ProxyPass /sites/ http://localhost/index.php/apps/cms_pico/pico/
|
||||
ProxyPassReverse /sites/ http://localhost/index.php/apps/cms_pico/pico/
|
||||
RewriteRule ^sites/(.*) http://127.0.0.1/index.php/apps/cms_pico/pico/$1 [P]
|
||||
</IfModule>
|
||||
MARK
|
||||
|
||||
|
|
Loading…
Reference in a new issue