Home / Posts tagged 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 tried uploading a large file from Flash to php back end and got the following error: PHP Warning: POST Content-Length of 18348279 bytes exceeds the limit of 8388608 bytes It’s self explanatory, my PHP installation by default only allows up to 8MB of data to be uploaded to the server. To solve this you […]
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
I’ve been exploring Zen Cart shopping cart for a long time and one thing that, I thought, needed improvement was the support for friendly URLs.?Ultimate SEO URLs?break my site and I needed another solution. I found this little beauty called?Simple SEO URL?and it works beautifully.? It’s a little tricky to set up, but it’s worth […]
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