Home / Archive by category Apache Archive by category Apache
Occasionally I need to take my sites down for a regular maintenance and I’ve come up with a pretty neat way of setting up a?website maintenance page?using Apache mod rewrites. Once the rewrites are in place, you don’t need to restart your Apache webserver for any subsequent maintenance periods. ?The idea is to simply drop […]
Read More
I recently changed my ISP from Optus to TPG and when I tried to start my local apache instance and I got this error httpd: apr_sockaddr_info_get() failed for 192-168-1-107.tpgi.com.au httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName That gave me a hint that my local hostname had changed. […]
Read More
I’ve had to reinstall apache server on my Mac and the only way to do it cleanly was to nuke my existing apache installation and compile a fresh one from source. That’s all cool, but I could never remember what modules I needed and how to enable them. ?If you don’t load any modules at […]
Read More
I have just set up Apache Tomcat startup script on Snow Leopard and I thought I’d blog about it while it’s still fresh in my head.? Assuming you have installed Tomcat in /usr/local/tomcat directory, you can do the following to start Tomcat on system startup. 1. Create your startup script: sudo nano /usr/local/tomcat/bin/tomcat #!/bin/sh # […]
Read More
Following my post on Snow Leopard Gotchas, I discovered another problem you might run into. SL comes with currently the latest version of PHP 5.3.0. However, not all PHP projects will play nice on v5.3.0. What you could do is: 1. build and configure an older version of PHP from source – e.g. 5.2.11 2. […]
Read More
I recently upgraded to Snow Leopard from 10.5 and everything went relatively smoothly. I was particularly pleased to see extra 13GB of hard drive space. However, I noticed a couple of things that I wasn’t so pleased about: Apache unable to start PHP disabled MySQL unable to start I’ve already walked a couple of people […]
Read More