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

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

 



> -----Original Message-----
> From: sachin sachin [mailto:lalsachi@xxxxxxxxx] 
> Sent: Freitag, 27. Januar 2006 11:58
> To: users@xxxxxxxxxxxxxxxx
> Cc: sachin sachin
> Subject: [users@httpd] Re: problem while access .htaccess
> 
> 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 ?

How to check this in the documentation:

1) Go to the page for the directive "ProxyPass"
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypass

2) In the box at the top, look for the line "Context:"

3) This tells you where you can use the directive. In this case, only as far as "directory", .htaccess is not allowed.

4) To see what Context: means, click on its link:
http://httpd.apache.org/docs/2.0/mod/directive-dict.html#Context

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

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

Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.

> 
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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