@Matt: Thanks for sticking with it...

Yes, I restarted both Apace and Tomcat after each change.
The server is Ubuntu Linux 8.04.3
My initial server setup went something like this (to paraphrase):
  • sudo apt-get install sun-java6-jdk
  • tar xvzf apache-tomcat-6.0.14.tar.gz
  • sudo mv apache-tomcat-6.0.14 /usr/local/tomcat
  • JAVA_HOME=/usr/lib/jvm/java-6-sun
  • add tomcat to init.d startup
  • MOVE openbluedragon.war TO /usr/local/tomcat/webapps/
  • copy "tools.jar" from the /lib/ dir under the JAVA_HOME above to .../tomcat/lib
  • allow Apache to proxy: /etc/apache2/mods-available - comment line thus: #Deny from all
  • Enable Apache modules proxy, proxy_balancer, proxy_ajp and proxy_http.
  • place web sites (more than one) under /usr/local/tomcat/openbd/site1 and /usr/local/tomcat/openbd/site2
  • modify /etc/apache2/apache2.conf - per Nitai's screencast:
  • add a <VirtualHost> node for each additional site.
Bada bing. I fire it up and get CFML web sites! But after a while I notice that cgi.SCRIPT_NAME is wrong and includes /openbd/site1/ where only / should be. Then I start this thread to totally haunt your weekends.

I should note that I can change my existing IP-based Apache ProxyPass lines from http to ajp (protocol and port) without issue. This helps with some other cgi variables, but has no affect on script_name.

Do you think that perhaps the Tomcat Host node needs more attributes than your example, like perhaps "appBase"?
Can you - or someone - post a working Host node or two?

Al Holden


--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
 
mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to