Discussion:
problem while access .htaccess
sachin sachin
2006-01-27 11:59:44 UTC
Permalink
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.

Loading...