RE: FW: [users@httpd] how to prevent directory listing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

Hi,

 

My application set up is:

Client (Brower) -> http server <-(mod_jk)-> Tomcat

 

In tomcat/webapps/app1 contains below folders

 Images

 Js

 Style

 WEB-INF

 

 

http://ip:port/app1 will provide the application login page

 But http://ip:port/app1/images/ should not display the images.

 

 I hope I need to configure at httpd only.

 

 I added below lines in httpd.conf, but....

 

<Directory /app1/images/>

Options -Indexes

</Directory>

 

 

Please suggest the solution.

 

 

Regards,

Rajesh

 

-----Original Message-----
From: Pid [mailto:p@xxxxxxxxxxx]
Sent: Monday, July 03, 2006 1:56 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: FW: [users@httpd] how to prevent directory listing

 

You mentioned Tomcat...

Which directory listing is showing, the Apache one or the Tomcat one?

You have to configure them separately, as Apache will pass straight

through to Tomcat.

 

More details Rajesh?

 

 

Matus UHLAR - fantomas wrote:

> On 03.07.06 12:33, rajesh.gannarapu@xxxxxxxxx wrote:

>> Thanks for your response,

>> 

>> But what ever Jaqui said is not working.

>> Is there any thing  I missed?

>

> indexes are not turned on by default. You probably have tuned them on

> somewhere in htaccess or config file(s). Search for "Indexes" in <Directory>

> blocks and .htaccess files...

 

---------------------------------------------------------------------

The official User-To-User support forum of the Apache HTTP Server Project.

See <URL:http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx

   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx

For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

 


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux