[EMAIL PROTECTED] wrote:
> I added below lines in httpd.conf, but....
> <Directory /app1/images/>
> Options -Indexes
> </Directory>
The <directory> directive should reference the full directory path:
e.g. if tomcat is in /opt:
<Directory "/opt/tomcat/app1/images">
-J
[EMAIL PROTECTED] wrote:
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:[EMAIL PROTECTED]
Sent: Monday, July 03, 2006 1:56 PM
To: users@httpd.apache.org
Subject: Re: FW: [EMAIL PROTECTED] 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, [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]