I have just purchased a new server for work, using Apache, ColdFusion5 and
MS SQL 2000.
To save us some money (and because I want to learn) I'm going to do all
the administration on the box. At the moment I've been trying to get
everything up and working on a small scale on my laptop, and I'm guessing
(and hoping) if I can do that then the server will configure just as
easily.
The Problem: I've installed CF5 Professional, but when I run look for
[localhost...] I get a message asking me to save or open
the file. Both Apache and CF are running, and I've tried to change the
file association *.cfm with out any luck. I remember when I added PHP4 I
had to put in
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
to the httpd.conf file. Do I have to do something similar here? I have already added
LoadModule coldfusion_module c:/cfusion/bin/ApacheModuleColdFusion.dll
but it still isn't working
It is probably a simple answer but I have no clue.
Any help is appreciated, and any links to good apache administration tute's would be great also.
Cheers
Justin.
The problem could well be in your LoadModule directive - Apache expects a path relative to the server root and you're passing an absolute path. Try copying the dll into Apache's modules directory and changing the line to
LoadModule coldfusion_module modules/ApacheModuleColdFusion.dll
and see if that works.
AddType application/x-httpd-coldfusion .cfm
AddHandler type-coldfusion .cfm
- OR -
AddType application/x-httpd-coldfusion .cfm
AddHandler type-coldfusion .cfm
course those look the same... here's the url the site's DOA but google has a cached copy
[google.com...]
No promises that this has any direct bearing on what you're looking at or for, and I'm of a mind to agree that those shouldn't be necessary as the total lack of mention on the web in general leads me to believe the problems elsewhere. (Think I could have stated that more circuitously? ;) )