tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Tomcat behind Apache and security-constraint
Date Thu, 21 Jul 2011 16:39:13 GMT
Adrián Córdoba wrote:
> Hi!
> I have a very simple web application
> (JSP<http://www.coderanch.com/forums/f-50/JSP> based),
> deployed on Tomcat webapps directory with a security constraint in order to
> protect an internal directory. Tomcat (7.0.12) is running behind Apache
> (2.2.17) web server (httpd).
> 
> If I try to access to some file within internal directory, directly in
> Tomcat (*http://localhost:8080/...*), username and password are required,
> and I can reach the file (if username and password are wright). That's
> wright!
> 
> But, *if I try to access the same file within internal directory, through
> Apache web server* (*http://localhost/...*), username and password are
> required, but *a blank page is displayed on Firefox navigator*.
> (If I delete the security constraint, the web application works fine.)
> 

What is missing in your otherwise good description above, is how you are connecting Apache

httpd to Tomcat, and maybe some part of the configuration thereof.
Also, on which platform this is running.


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


Mime
View raw message