Here you can find tips and tricks for Apache web server. These snippets are based on Windows XP as an operating system, but may 'work' to some extent on other platforms too.
This article shows a few tips and tricks on how to set up a server environment on Windows that, as much as possible, replicates your hosted server environment - be it Unix, Linux or whatever. You should have a reasonable understanding of Apache and PHP and MySQL should be installed already. For more details on this, please check out the related links section of this site.
In this snippet we print out the Apache modules that are running on the server.
This snippet shows an easy way to rewrite every request to a sub-domain. This can be very useful if you are, for example using a CMS and doing an upgrade but you need the URLs to remain unchanged after the switch. This article assumes that you have the rewrite module enabled on your server - which is Apache of course.
I have searched hundreds of forum threads, blogs and info channels searching for the ultimate way to run PHP4 and 5 together on an Apache web-server, so I can test and play at the same time. I am on Windows at home. My web server is Linux, but what the hell, this could be close enough for me. This article was originally published on 227net.
For my sins, I decided to move over to Wordpress a couple of months ago. However I saw the light pretty soon and wanted to switch back to a new version of Drupal. This article shows how you can test an installation while still running another site on the front end.