BlueDragon 7.0 working with Apache 2.2 on Dapper Drake
I've just got this working. (to be fair i can display the default bd test page and my own hello the time is #now()# page but I am running 2.2 on Ubuntu with BD 7.0 beta 2. Beta 2 isn't on the site yet but is available from the ftp servers. Check the bd-interest list archives for how to find it.
The problem I came across may have been related to the order of my installation but it went thusly:
1. install apache2
2. install bd
3. test bd port 8080 - happiness
4. try to follow the guidelines from 6.21 docs for making symbolic links to the apache 2 install. On ubuntu they are:
mkdir -p /usr/local/apache/conf
ln -s /var/www/ /usr/local/apache/htdocs
ln -s /usr/lib/apache2/modules/ /usr/local/apache/modules
ln -s /usr/sbin/apache2 /usr/local/apache/bin/httpd
ln -s /etc/apache2/apache2.conf /usr/local/apache/conf/httpd.conf
5. Confirm that you have the file /usr/lib/apache2/modules/mod_servletexec2.so
6. go to /etc/apache2/mods-enabled directory and see if you have 2 files servletexec.load and servletexec.conf. If not create servletexec.load with the following line:
next create servletexec.conf as follows:
ServletExecAliases default /servlet .cfc .cfm .cfml
<location /servlet>
SetHandler servlet-exec
</location>
AddHandler servlet-exec cfc
AddHandler servlet-exec cfm
AddHandler servlet-exec cfml
7. Restart apache:
8. Create a simple index.cfm in your apache webroot (e.g. /var/www)
The time is <cfoutput>#now()#</cfoutput>
9. as long as you are not using virtual hosts you should see the current time instead of the plain text
Hope this helps others! For reference, I have been working with VMWare's free virtual machine player this week for the purpose of testing BD7beta2 and have an Ubuntu Dapper drake vm running apache 2.2 and BlueDragon 7 beta 2. You can build your own Virtual machines with a free site called EasyVMX (see the super simple edition) to allow you to create a virtual machine and install an OS from your boot disks.
I installed Dapper Drake on one of these images to get the configuration working. I'm done now and
I'm not sure whether BD will let me distribute this or would care to distribute it themselves but it's a good starting point for evaluating a web server without compromising any of your existing setup.