Tuesday
19
Jun 2007

Why do we blame the tools before fully checking our own code?

(12:57 pm) Tags: [Software, Rants]

Do we think that our code is just cleaner somehow? That we possibly couldn’t make an error that stupid? Guess what, if you think that, I can almost guarantee that you did :)

Popularity: 22%

Comments: (0)

Disable HTTP TRACE method in Tomcat

(10:19 am) Tags: [Software, Sysadmin]

This one is also quite easy, simply edit $TOMCAT/conf/server.xml, and for the <connector> element, add an attribute: allowTrace="false". Restart Tomcat and enjoy.

Popularity: 24%

Comments: (0)

Disable directory listings in Tomcat

(8:20 am) Tags: [Software, Sysadmin]

Found this from Tomcat 5 on Linux Step by Step. Simply edit the server’s conf/web.xml, and change the DefaultFileServlets listing init parameter from true to false:

<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>

Popularity: 23%

Comments: (0)