-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ivan,

On 11/10/2009 2:26 PM, Ivan Eulaers wrote:
> Today, Tomcat has been installed on my server. When I now want to access 
> those secured directories, I get an error by Tomcat "The requested resource 
> is not available". How can I repair this?

Are you trying to replace Apache httpd with Tomcat? If so, Tomcat
doesn't support .htaccess files.

> I've tried adding tomcatAuthentication="false" to <Connector
> port="21309" protocol="AJP/1.3" /> and restarted Tomcat, but this was
> not the solution.

tomcatAuthentication="false" will allow any authentication information
from Apache httpd to flow into Tomcat, but you still have to configure
access appropriately based upon roles.

> Users should be able to browse certain subdirectories as follow:
> - User A, B, C should be able to access https://www.../extranet/client1/ and 
> its subdirectories
> - User A, D, E, F should be able to access https://www.../extranet/client2/ 
> and its subdirectories
> 
> .htaccess-listing
> =================
> 
> # STRONG HTACCESS PROTECTION
> <Files ~ "^.*\.([Hh][Tt][Aa])">

What, no access to .../.htable files?

It's tough to guess what is being forwarded to Tomcat. Can you show us
your JkMount or <Proxy> directives that you have configured?

Also, please provide a specific example of a URL that fails to load
properly, what the error is, and what you expected to happen.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr5yfYACgkQ9CaO5/Lv0PDPLACeIP2nLA8U8yB2W8BH1rkbswZx
gYkAnR3q1h80kufY3dZx1dFaCTuXKig/
=yloJ
-----END PGP SIGNATURE-----

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

Reply via email to