XAMPP for Windows

I recently started using this program its fantastic! It’s like Uniform Server yet slightly better. XAMPP is a type of WAMP (Windows/Apache/MySQL/PHP) that runs straight off your computer.

http://www.apachefriends.org/en/xampp-windows.html

Uniform Server on the other can run off a single usb – simply by running the app it mounts a virtual drive for your web server and off you go. When your done, simply stop and the drive is unmounted. On the other than XAMPP creates it’s files all locally on your computer – but doesn’t remove them when your done like Uniform Server. They are both simple to install… but ok here’s the real reason why I like XAMPP.

I’ve recently been trying to install Coldfusion 8 with the least amount of headaches. XAMPP does this well! Here is the tutorial on how to get it to work:

http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/coldfusion-8-and-apache-on-windows-xp-116

In a nutshell – Download Coldfusion, download XAMPP. Install XAMPP – then install Coldfusion with some important steps to configure Apache (XAMPP). Then your done!

But I had a slight problem – at the part of the tutorial where it says hit the CFIDE/Administrator/index.cfm page – my page was all binery! nothing like a nice looking cfm page.

I created a index.cfm in a test folder and tried to hit that, instead got a Directory listing – I hit the file manually and it worked. Tried a simple cfoutput example and that worked too…

To resolve this I went into the apache config file (httpd.config) and added index.cfm to the DirectoryIndex under IfModule dir_module node.

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml index.cfm
</IfModule>

Hit my CFIDE page and everything worked. Now I have Coldfusion on pretty much portalable web server.

I haven’t yet tried to replicate this on Uniform Server – I will do it when I get sick of XAMPP – since there were a few people other there struggling to get it working.

One thought on “XAMPP for Windows”

  1. Pingback: | Validus Concepts

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>