Sunday, October 8th, 2006
This tutorial will guide you to run an Apache web server with PHP and MySQL right from your USB flash drive (pen drive, thumb drive). No installation. Just plug and run!
Pretty handy thing to show or discuss a dynamic web project with a client or teacher.
To get started first we need to download XAMPP Lite from ApacheFriends.org
You can get the package here:
Download XAMPP Lite
Download and extract the .zip archive.
Inside you will find a folder xampplite
Now plug-in your USB Flash Drive and copy this folder there.
Congrats!! You now have a web server on your flash drive.
Now its time to ...
(read more)
Thursday, August 31st, 2006
Over a post in Google Webmaster Central Blogs Vanessa Fox stated that when your site goes down for maintenance tou should configure your server to return a status of 503 (network unavailable) rather than 200 (successful). This lets Googlebot know to try the pages again later.
Searching for how i can make my Apache webserver return the 503 - Service Unavailable status code for a particular site on a shared hosting environment i found the following solution over http://wiki.splitbrain.org/503.sh
To return 503 (Service Unavailable) status on Apache Web Server:
Step 1:
Create the following shellscript named 503.sh:
#!/bin/sh
cat <<EOF
Status: 503
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE html PUBLIC "-//W3C//DTD ...
(read more)