Tuesday, December 26, 2006

Generic apache alias

On /etc/httpd/conf/httpd.conf
Alias /favicon.ico "/home/httpd/icons/favicon.ico"

IIS-Tomcat integration

To pass the remote user from IIS to Apache Tomcat you should disable Tomcat Authentication, on the AJP connector tag. IIS must be configured to use integrated authentication with SPNEGO-Negotiate-Kerberos.

<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
tomcatAuthentication="false"
...

Ant project name

To query the name atribute of the project tag use ${ant.project.name}

<project name="project-name" ...

Tuesday, December 19, 2006

Firefox settings

In about:config

browser.download.manager.showWhenStarting = false

Skipping the download window open saves you from the 100% CPU usage pulse when downloading.

network.http.max-connections
network.http.max-connections-per-server = 6
network.http.max-persistent-connections-per-server = 6

Concurrent connections to a server, depends on your connection and the servers' connection, having many connections is bandwidth expensive.