Let me apologize if I missed the answer to this already. I'm also new
to both Apache and Resin, so pardon my ignorance regarding this as
well.
I've got a test box with Windows 2003, Apache 2.2 and Railo Server 3.1
(Resin). The problem is my .cfm files display the actual code.
My apache httpd.conf file has the railo info at the end:
LoadModule caucho_module "x:/Railo/win32/apache-2.2/mod_caucho.dll"
ResinConfigServer localhost 6800
CauchoStatus yes
<Location /caucho-status>
SetHandler caucho-status
</Location>
I've got an active directory as done in the apache instructions with a
conf file for the test site as follow:
<VirtualHost *:80>
ServerAdmin
m...@xxxxxx.org
DocumentRoot "x:/Apache Software Foundation/Apache2.2/htdocs/
xxxxxx.org/wwwroot"
ServerName
xxxxxx.org
ErrorLog "logs/xxxxxx.org-error.log"
CustomLog "logs/xxxxxx.org-access.log" common
DirectoryIndex index.cfm index.php index.htm index.html
index.html.var
<Directory "x:/Apache Software Foundation/Apache2.2/htdocs/
xxxxxx.org/wwwroot">
Options -indexes multiViews +includesNoExec
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Resin has the hosts directory with
xxxxxx.org folder and hosts.xml so
I don't have to modify the resin.conf file every time I want to add/
remove a site:
<host xmlns="
http://caucho.com/ns/resin"
xmlns:resin="
http://caucho.com/ns/resin/core">
<resin:set var="path" value="x:/Apache Software Foundation/
Apache2.2/htdocs/
xxxxxx.org/wwwroot" />
<host-alias>
xxxxxx.org</host-alias>
</host>
This same setup runs on the Railo-Resin-Express (without Apache front-
end).
The web and server contexts work perfectly
Thank you.