[users@httpd] Re: problem while access .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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.





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux