dcsimg
.htaccess and tomcat
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chris_matthews
Posted On:   Tuesday, June 3, 2003 07:41 AM

HI All, I am running tomcat 4.0.4 as a web server itself and am not running apache behind it. I am trying to limit access to a series of IP addresses. (my application runs behind a firewall and a simple.htaccess file work well for the pages we need to hide on our main server. However, it seems that a .htaccess file does not restrict access (as it should) for any of my pages that run on tomcat. Is there sometihng I need to include in the server.xml file ?? (I couldn't find anyhting) Thanks in advance, Chris    More>>

HI All,

I am running tomcat 4.0.4 as a web server itself and am


not running apache behind it. I am trying to limit access


to a series of IP addresses. (my application runs behind


a firewall and a simple.htaccess file work well for the pages


we need to hide on our main server. However, it seems


that a .htaccess file does not restrict access (as it should)


for any of my pages that run on tomcat.


Is there sometihng I need to include in the server.xml file ?? (I couldn't find anyhting)


Thanks in advance,

Chris

   <<Less

Re: .htaccess and tomcat

Posted By:   AlessandroA_Garbagnati  
Posted On:   Tuesday, June 3, 2003 08:43 AM

Hi,

Check out the The Valve Component in the Tomcat 4.0 documentation pages.


By the way, if you can, I would suggest you to move to latest 4.1.

About | Sitemap | Contact