httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sachin sachin <lalsa...@gmail.com>
Subject [users@httpd] Re: problem while access .htaccess
Date Fri, 27 Jan 2006 10:58:06 GMT
Hi all,

Yes, I found out the problem is AllowOverride as None.Now, I modified the
AllowOverride option as All then Apache reads the .htacess file.

But .htaccess configuration does not allow to configure ProxyPass &
ProxyHTMLURLMap configuration.

Please let me know
Is ProxyPass & ProxyHTMLURLMap configuration can be apply through by
.htaccess file ?

Thanks & Regards,
Senthilkumar.


On 1/27/06, sachin sachin <lalsachi@gmail.com> wrote:
>
> Hi all,
>
> I configured the proxypass configuration in .htaccess file, but it doesn't
> effect proxy the request.
>
> I set the Document root directory as /home/Test/, And I create a test file
> inside the /home/Test/test.txt file. I try to access
> http://servername:8080/ the apache server, It displays test.txt file list.
>
> Now I try to access the same with .htaccess file with following
> configuration.
>
> ProxyPass /b http://192.168.112.53:8080/
> SetOutputFilter  proxy-html
> ProxyHTMLURLMap (.*) http://192.168.112.53:8080/a/$1 RXi
> RequestHeader    unset  Accept-Encoding
>
> If I try to access http://servername:8080/b from apache server, It does
> not display the test.txt file list. It shows 404 error.
>
> What should i do to be effect the ProxyPass & ProxyHTMLURLMap
> configuration in .htaccess file.
>
> Please help me to effect the .htaccess configuration.
>
> Thanks & Regards,
> sachin.
>
>
>
>

Mime
View raw message