Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache ProxyPass not allowed here

2,810 views
Skip to first unread message

comeshopcheap

unread,
Jan 28, 2008, 9:29:33 PM1/28/08
to
Hi

[Mon Jan 28 21:18:07 2008] [alert] [client 127.0.0.1]
C:/.../.htaccess: ProxyPass not allowed here

I get the above error when I add the following line to a .htaccess
file.

ProxyPass http://127.0.0.1/dir !

Does anyone know what the a solution would be.

Thanks

Klaus Johannes Rusch

unread,
Feb 26, 2008, 2:15:55 AM2/26/08
to

According to the documentation, ProxyPass is not allowed in .htaccess:

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

Context: server config, virtual host, directory

So you need to move the ProxyPass rule to the server configuration file.

--
Klaus Johannes Rusch
Klaus...@atmedia.net
http://www.atmedia.net/KlausRusch/

0 new messages