Fwd: problem while access .htaccess

sachin sachin <[email protected]> Fri, 27 Jan 2006 17:29:44 +0530
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
------=_Part_37312_22469762.1138363184783
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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.

------=_Part_37312_22469762.1138363184783
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<span class=3D"gmail_quote"></span>Hi all,<br>
<br>
I configured the proxypass configuration in .htaccess file, but it doesn't =
effect proxy the request.<br>
<br>
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
<a href=3D"http://servername:8080/" target=3D"_blank" onclick=3D"return top=
.js.OpenExtLink(window,event,this)">http://servername:8080/</a> the apache =
server, It displays test.txt file
list.<br>
<br>
Now I try to access the same with .htaccess file with following configurati=
on.<br>
<br>
ProxyPass /b <a href=3D"http://192.168.112.53:8080/" target=3D"_blank" oncl=
ick=3D"return top.js.OpenExtLink(window,event,this)">http://192.168.112.53:=
8080/</a><br>
SetOutputFilter&nbsp; proxy-html<br>
ProxyHTMLURLMap (.*) <a href=3D"http://192.168.112.53:8080/a/$1" target=3D"=
_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">http://192=
.168.112.53:8080/a/$1</a> RXi<br>
RequestHeader&nbsp;&nbsp;&nbsp; unset&nbsp; Accept-Encoding<br>
<br>
If I try to access
<a href=3D"http://servername:8080/b" target=3D"_blank" onclick=3D"return to=
p.js.OpenExtLink(window,event,this)">http://servername:8080/b</a> from apac=
he server, It does not display the test.txt file
list. It shows 404 error.<br>
<br>
What should i do to be effect the ProxyPass &amp; ProxyHTMLURLMap configura=
tion in .htaccess file.<br>
<br>
Please help me to effect the .htaccess configuration.<br>
<br>
Thanks &amp; Regards,<br><span class=3D"sg">
sachin.

</span>

------=_Part_37312_22469762.1138363184783--