Finally! All working now!

I finally got Apache working.

I was having a terrible time getting the index page to display if just the domain name or any other directory name was specified in the URL. if you tried to go to http://brian.thebuckpasser.com Firefox 2.0 would just return a blank page while IE7.0 would return a very generic "something is wrong" error.

It turns out that I was too smart for myself. I figured that in order to have BlueDragon be set as the default handler for .cfm files that I would have to explicitly set it like this:

<Location "/">
SetHandler servlet-exec </Location> <Location "/includes"> SetHandler None </Location>
<Location "/includes/admin"> SetHandler None </Location>
<Location "/images"> SetHandler None </Location>

Apparently when you set the handler explicitly Apache2 dutifully dispatches the index page to BlueDragon which then just loses the request (or something, maybe it just throws it out into the ether?).

By removing the SetHandler directive from the virtual host everything just works. This also makes the additional SetHandler None directives unneeded since they were in there to counteract the effect of sending the .cfm files to BlueDragon thus I really didn't need any of the <Location> tags in the setup at all. I only wish it didn't take me so long to try it out!

-later

Comments