You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rabl Mario <ma...@uta.at> on 2003/05/06 15:30:39 UTC

Tomcat 4.1 - Disabling directory listing

Hi,

I'm running Apache 2 + mod_jk2 + Jakarta-Tomcat 4.1

I want to disable directory listing in Tomcat (so even if somebody is using
Port 8080, the content will not be listed).

Do I have to set up a <Directory> directive for every contentpath in Apache
with "Options -Indexes" and allow only localhost:80 connections to Tomcats
8080 port?
Or is there a smarter way, to do this?

thx in advance
mario = ; )
---------------------------------------------------------------------------
TIS.SAS.BSS - System Engineer
UTA Telekom AG
Donau-City-Straße 11 - A-1220 Wien
ICQ# 28345707
---------------------------------------------------------------------------
Verbirg Dein Schwert hinter einem Lächeln. Sun Tsu 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Tomcat 4.0.3 doesn't respond to the requests ! HELP !

Posted by Marco Fabbian <ma...@seven.it>.
Hi all,

I have a big problem with Apache Tomcat 4.0.3.
Well, i have all the HTML stuff managed by IIS 5.0 which is connected by a
connector (AJP13) to Tomcat.
Everyday, today it is happened at 01:00 in the morning, Tomcat doesn't
respond to the requestes but the service is on.
The application wrote a lot of messagges in the log file, so i deleted the
System.out.println instructions but it wasn't the problem.
The application is made up of different servlet and each time a servlet is
invoked an object is put in the session.
Tomcat is installed on a Windows 2000 server with 200 MB of RAM; usually
there are 200 users every day who use the application.
Is it the version i use the problem ?
Are there any special configuration parameters to use for Tomcat and JVM
too ?
I tried to move the application from Windows 2000 Server to a Linux Server
(RedHat 7.0) but i got the same behaviour.
I use the JDK 1.3.
Cheers.
 
                      MF


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


taglib missing declaration when 2 variables have the same name

Posted by Flavio Tordini <fl...@tin.it>.
hi all,
there's a bug in tomcat 4.1.x with taglibs:
if you generate two scripting variables with the same name, the second one
misses the declaration and the jsp does not compile.

the bug has been reported but i think it should have a higher priority, so
if you're using taglibs vote for this bug.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15066

flavio




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat 4.1 - Disabling directory listing

Posted by Tim Funk <fu...@joedog.org>.
http://tomcatfaq.sourceforge.net/configure.html

-Tim

Rabl Mario wrote:
> Hi,
> 
> I'm running Apache 2 + mod_jk2 + Jakarta-Tomcat 4.1
> 
> I want to disable directory listing in Tomcat (so even if somebody is using
> Port 8080, the content will not be listed).
> 
> Do I have to set up a <Directory> directive for every contentpath in Apache
> with "Options -Indexes" and allow only localhost:80 connections to Tomcats
> 8080 port?
> Or is there a smarter way, to do this?
> 
> thx in advance
> mario = ; ) 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org