Hi! I have Apache2.0.50+mod_jk2+Tomcat5.0.27 running together on Windows 2003.
Access to the applications directories mounted in <Virtual Host> of
Apache. I'm trying to deny access to root of every site and the
applications directory with
<Directory C:/server/apache/htdocs>
Order Deny,Allow
Deny from all
Allow from www.mysite.com
</Directory>

But its didnt work. I can deny access to the htdocs/, but the
application directory, for example htdocs/myapp/ still accesible to all.
I've tryed to do that with <LocationMatch /> and <Location />, then Tomcat
cannot load applet, because it tells that applet innaccesible.
I've tryed to resolve it like this:
<Directory C:/server/apache/htdocs/myapp-folder>
Order Deny,Allow
Deny from all
Allow from www.mysite.com
</Directory>

<Directory C:/server/apache/htdocs>
Order Deny,Allow
Deny from all
Allow from www.mysite.com
</Directory>

But its working just for root (htdocs).

I can close htdocs from Apache, but give some tips please how to close
access to apps directories and allow it just from one host.
Maybe any ideas how to do that with just Tomcat configuration?

Thank you very much for any help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to