This is how you turn off directory list for yr Tomcat server.
1. Edit the default servlet in the {$CATALINA_HOME}/conf/web.xml file.
2. Look for the <init-param> section within the <servlet section>
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>
org.apache.catalina.servlets.DefaultServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
3. Change the <param-value> to false for the <param-name>listing</param-name> section.
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>
[poll id="3"]
Do you develop using web application frameworks?
I like the idea of using frameworks to develop. I’ve played around with Ruby On Rails, Symphony, Django and a few others. They generally help simplify code.
For example, I don’t waste time on my db connection , presentation layer, form validation codes anymore and I get to spend [...]
Received my Ubuntu 8.04 LTS Hardy Heron cds in the mail today.
Who doesn’t like to receive internatioanl packages with goodies? The best part is when I tell my non OSS friends that the cds were shipped free of charge.
You will be suprised to know that many people don’t believe that there are people out there [...]
Know someone who’s never heard of twitter? I don’t.
There are loads of twitter desktop clients out there for Windows. I’m a Linux person so twittering from my command line is just one of the many was I twitter.
Linux and OpenSource Blog has published a list for desktop clients for Linux. Might come in handy for [...]
When forced to work within a limited budget you are normally forced to come up with alternative cost saving solutions. This was the case for a University which desided to use a Linux powered X-Box to host it’s students web projects.
As time passed so did the personnel who knew about the X-Box web server. Without [...]