You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sachin sachin <la...@gmail.com> on 2006/01/27 11:31:39 UTC
[users@httpd] problem while access .htaccess
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.
[users@httpd] Re: problem while access .htaccess
Posted by sachin sachin <la...@gmail.com>.
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 <la...@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.
>
>
>
>
Re: problem while access .htaccess
Posted by sachin sachin <la...@gmail.com>.
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 <la...@gmail.com> wrote:
>
>
>
> ---------- Forwarded message ----------
> From: sachin sachin <la...@gmail.com>
> Date: Jan 27, 2006 4:01 PM
> Subject: problem while access .htaccess
> To: users@httpd.apache.org
>
> 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.
>
>
>
>
Fwd: problem while access .htaccess
Posted by sachin sachin <la...@gmail.com>.
---------- Forwarded message ----------
From: sachin sachin <la...@gmail.com>
Date: Jan 27, 2006 4:01 PM
Subject: problem while access .htaccess
To: users@httpd.apache.org
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.
Fwd: problem while access .htaccess
Posted by sachin sachin <la...@gmail.com>.
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.