Tomcat x Apache Authentication.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Eicke_Felipe
Posted On:   Thursday, October 9, 2003 11:39 AM

Hi folks. I have an Apache server (1.13.27) and Tomcat 4.1 server running and I need to protect jsp pages as html and anothers. My environment is the following: /usr/local/apache/htdocs/ /usr/local/tomcat/conf/ /usr/local/tomcat/webapps/ If I runnning localhost:8080/examples/test.jsp and localhost/examples/test.jsp the result is the same, I guess that apache and tomcat are talking. But i need to protect all jsp pages as html pages, I tried: - to put .htaccess into webapps directory; - change httpd.conf with the following contents (and created tomcat.conf and put the same contents too): AuthName "Scientific Intranet"    More>>

Hi folks. I have an Apache server (1.13.27) and Tomcat 4.1 server running and I need to protect jsp pages as html and anothers. My environment is the following:


/usr/local/apache/htdocs/

/usr/local/tomcat/conf/

/usr/local/tomcat/webapps/


If I runnning localhost:8080/examples/test.jsp and localhost/examples/test.jsp the result is the same, I guess that apache and tomcat are talking. But i need to protect all jsp pages as html pages, I tried:

- to put .htaccess into webapps directory;

- change httpd.conf with the following contents (and created tomcat.conf and put the same contents too):






AuthName "Scientific Intranet"

AuthType Basic

AuthUserFile /var/httpd/auth/users

AuthGroupFile /var/httpd/auth/groups



require valid-user







Include /usr/local/tomcat/conf/auto/tomcat.conf



Could you help me?

Regards.

Eicke.

   <<Less
About | Sitemap | Contact