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] problem while access .htaccess
Date Fri, 27 Jan 2006 10:31:39 GMT
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