Whew! We're done with the LoadModule directive. And we may even be altogether done with configuring httpd.conf, unless it contains the ClearModuleList directive. If so, you will need to add one more line to the configuration. Below this directive there will be another series of lines, these beginning with the AddModule directive. At the bottom of all of these insert the following:
| AddModule mod_coldfusion.c |
Save your changes to httpd.conf and now all that is left is restarting Apache. This is typically as easy as issuing the following form the shell prompt:
|
/usr/sbin/apachectl restart
OR /usr/sbin/apachectl stop AND THEN /usr/sbin/apachectl start) |
If all went well you will get a message that httpd started. If not you might retry the above manual configuration of httpd.conf more carefully. And as a fallback position you will always be able to copy your backup as httpd.conf, restart, and you should be in no worse shape than you began, perhaps ready to try again a little more carefully.
Assuming Apache restarted just fine you will want to confirm that ColdFusion is working correctly in conjunction with your webserver. As noted in the README you should point your browser to:
NOTE though that if you are installing this on a remote server you will need to replace localhost with the proper server name, in the form of example.com for instance.
If everything succeeded you will see a page entitled ColdFusion Adminstrator that has a form for you to enter the password you specified during the install process. If all does NOT go well, depending on your browser you may encounter one of the following:
Internet Explorer: May prompt you to download the index.cfm file
Mozilla: May display incomprehensible output
Well at least Apache is running, and you can go back and attempt the previous steps more carefully. If you get a dialog telling you that the server could not be found however, then your Apache configuration is broken and will definitely need to be restored from the backup of httpd.conf.
Have I mentioned you should back up httpd.conf?
One final note. If you do reclaim space on the server by eliminating the directory named coldfusion-451express-linux-ent that got created when unpacking with the gunzip command, please take note. The reason I suggested running gunzip with the -c -c flag to retain the original .tar.gz file, was to be able to decompress and re-create the coldfusion-451express-linux-ent directory at a later date, should you ever need or want to remove ColdFusion Express. This directory contains the necessary cfremove script.
Now you're ready to start having fun with ColdFusion. Though much of the above is in the README I hope this constitutes a useful supplement.