Re: Tomcat hiding director

2007-04-06 Thread Hassan Schroeder
On 4/4/07, Hoa Doan [EMAIL PROTECTED] wrote: Is there a way to hid some directory from user access? Read the servlet spec section on security, and configure your app's web.xml appropriately. No other software required :-) -- Hassan Schroeder [EMAIL PROTECTED]

Re: Tomcat hiding director

2007-04-06 Thread Rashmi Rubdi
Great suggestion. I should take some time to read the spec too. On 4/6/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 4/4/07, Hoa Doan [EMAIL PROTECTED] wrote: Is there a way to hid some directory from user access? Read the servlet spec section on security, and configure your app's web.xml

Re: Tomcat hiding director

2007-04-06 Thread Leon Rosenberg
or just move the folder under WEB-INF. On 4/6/07, Rashmi Rubdi [EMAIL PROTECTED] wrote: Great suggestion. I should take some time to read the spec too. On 4/6/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 4/4/07, Hoa Doan [EMAIL PROTECTED] wrote: Is there a way to hid some directory

Re: Tomcat hiding director

2007-04-05 Thread Hoa Doan
I don't want to block people from accessing my site, I just want to block access to folder. And I can't find .htaccess anywhere, is it something you install serparetly? Rashmi Rubdi [EMAIL PROTECTED] wrote: I don't think .htaccess works with Tomcat alone -- doesn't it require Apache as well?

Re: Tomcat hiding director

2007-04-05 Thread Martin Gainty
AM Subject: Re: Tomcat hiding director I don't want to block people from accessing my site, I just want to block access to folder. And I can't find .htaccess anywhere, is it something you install serparetly? Rashmi Rubdi [EMAIL PROTECTED] wrote: I don't think .htaccess works with Tomcat

Re: Tomcat hiding director

2007-04-05 Thread Rashmi Rubdi
On 4/5/07, Hoa Doan [EMAIL PROTECTED] wrote: I don't want to block people from accessing my site, I just want to block access to folder. And I can't find .htaccess anywhere, is it something you install serparetly? This is the official .htaccess tutorial :

Re: Tomcat hiding director

2007-04-04 Thread Martin Gainty
Hi Doan- The easist way is to configure .htaccess for the folder and configure access according to which referer or what type of page they want http://www.javascriptkit.com/howto/htaccess13.shtml Martin -- This email message and any files transmitted with it contain confidential information

Re: Tomcat hiding director

2007-04-04 Thread Rashmi Rubdi
I don't think .htaccess works with Tomcat alone -- doesn't it require Apache as well? You could write a filter to block all IP addresses. -Rashmi On 4/4/07, Martin Gainty [EMAIL PROTECTED] wrote: Hi Doan- The easist way is to configure .htaccess for the folder and configure access according