tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Urgent: how to run htaccess on tomcat
Date Fri, 22 Oct 2010 10:01:44 GMT
abhishek jain wrote:
> On Fri, Oct 22, 2010 at 3:05 PM, abhishek jain
> <abhishek.netjain@gmail.com>wrote:
> 
>> Hi friends,
>> I am in middle of urgent production issue.
>> Can some one help me how to allow .htaccess on tomcat
>> i have a virtualhost on apache with tomcat installed.
>>
>> Apache 2.x
>>
>> tomcat 5.5.x
>> struts 1.2
>> Pl. help asap.
>>
>> Thanks
>> --
>> Thanks and kind Regards,
>> Abhishek jain
>>
>>
> to clarify.
> I want to run PHP and jsp pages, and I need index.php as the default page.
> Also, I need to use .htaccess and not tomcats urlrewritefilter or so.
> 

Unfortunately, this does not really clarify things.

Some things, which may be relevant or not, depending on your configuration :
- Tomcat does not care at all about .htaccess; that is purely "an Apache httpd thing".
   (In other words, you cannot make Tomcat be "aware" of .htaccess)
- Usually, it is a bad idea to share the same application directories between Apache httpd

and Tomcat
- Usually also, when Apache httpd and Tomcat work together, this is done via a 
"connector", and it may be possible at that level to do something about .htaccess.

But you are not telling us anything about your configuration, OS, setup etc.. so it is 
difficult to help.
Main thing here : how are Apache httpd and Tomcat connected to eachother ?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message