Skip to navigation
How to exclude certain url paths from apache proxy
20.04.16
example: to exclude the webaccess to the phppgadmin page /phppgadmin ! full example:
ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined ProxyPreserveHost On ProxyRequests On
Order allow,deny Allow from all
#ServerName shop4.lap ProxyPass /phppgadmin ! ProxyPass / http://localhost:8000/ ProxyPassReverse / http://localhost:8000/
http://gaganonthenet.com/2012/07/27/proxypass-exclude-a-directorypath/
Reply
Anonymous
Information Epoch 1757992175
Small is beautiful.
Home
Notebook
Contact us