Apache ProxyPass not allowed here

This is a discussion on Apache ProxyPass not allowed here within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi [Mon Jan 28 21:18:07 2008] [alert] [client 127.0.0.1] C:/.../.htaccess: ProxyPass not allowed here ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-29-2008
comeshopcheap
 
Posts: n/a
Default Apache ProxyPass not allowed here

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
  #2 (permalink)  
Old 02-26-2008
Klaus Johannes Rusch
 
Posts: n/a
Default Re: Apache ProxyPass not allowed here

comeshopcheap wrote:
> 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.


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

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

Context: server config, virtual host, directory

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

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:32 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0