Mozilla Firefox 1.0 ships

Mozilla shipped 1.0 of their Firefox version yesterday.

Since downloading one of the preview versions I haven’t missed or wanted to go back to IE at all… Firefox is a leap ahead of IE, and the tabbed browsing is awesome.

I wonder how Microsoft is going to respond to this new challenger in the browser space, since MS has already announced that it will not be continuing development of IE as a standalone downloadable software component, but will instead be an integrated feature into new Windows versions (ie Longhorn)

Configuring Apache2.0 to use SSL

I followed this site to get the basics up and running, in particular how to generate self-signed certificates: Raible’s Wiki: ApacheSSL

The actual configuration of my Virtual Hosts in the httpd.conf file was more trial and error. There is plenty of info about not mixing name and ip based Vitual Hosts, but I couldn’t find a good working example. It turns out that this configuration works fine:

<code>
NameVirtualHost x.x.x.x:80

#Use SSL for this Virtual Host
&lt;VirtualHost x.x.x.x:443&gt;
   SSLEngine On
   SSLCertificateFile /path_to/server.crt
    SSLCertificateKeyFile /path_to/server.key
    DocumentRoot /doc_root_for_ssl_protected_files
    ServerName server.name.com
&lt;/VirtualHost&gt;

&lt;VirtualHost x.x.x.x:80&gt;
    DocumentRoot /doc_root_for_files_on_port_80/
    ServerName otherserver.server.com
    DirectoryIndex index.jsp index.html
&lt;/VirtualHost&gt;


&lt;VirtualHost x.x.x.x:80&gt;
    DocumentRoot /doc_root_for_other_files_on_port_80/
    ServerName otherserver2.server.com
    DirectoryIndex index.jsp index.html
&lt;/VirtualHost&gt;

#ssl config
SSLMutex sem
SSLRandomSeed startup builtin
SSLSessionCache none

ErrorLog logs/ssl.log

</code>

Interview with Gavin King of Hibernate

JavaFree.com.br has an interview with Gavin King, the developer of the ORM technology, Hibernate.

He expresses some strong opinions on other database and ORM technologies – ‘we don’t see any future for JDO’, and when asked if he sees any alternatives to relational databases: ‘We don’t see them’.

Diagnosing SquirrelMail problems on Apache

I have been trying to deploy SquirrelMail to my webserver, which is currently set up as Apache 2.0.40 and mod_jk2 to Tomcat 4.1.24 on JBoss3.2.1.

When I try and access any page in SquirelMail other than the log on page, I get a blank page come back, with no errors.

Looking in the Apache error_log (/var/log/httpd/error_log) shows a few PHP errors:

<code>PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 4097 bytes) in
 /usr/share/squirrelmail/functions/imap_general.php on line 48</code>

This memory setting is in the /etc/php.ini file. Increasing this from 8M to 64M, and the max_execution_time from 30 to 120 fixed the memory and timeout problems.

The /var/log/messages file also showed the following error:

<code>Nov  7 11:17:52 localhost xinetd[20446]: libwrap refused connection to imap from 127.0.0.1
</code>

Adding imapd: 127.0.0.1 to /etc/hosts.allow fixed this.