I've been searching all over for a solution to my problem to no avail, so
I was wondering if anyone had any suggestion.

What I'm trying to do is have OpenBlueDragon serve .cfm pages, while
everything else gets served by Apache httpd.  I have this part working. 
What I cannot get working is connecting OpenBlueDragon and Tomcat at any
directory below the root of the application.

My setup:
Tomcat 5.5.26 directory: /opt/tomcat
Apache httpd 2.2.3 directory: /var/www/html/mysite

The relevant portions from my (I've taken the angle brackets out):

http.conf:
VirtualHost xx.xx.xx.xx:80
  DocumentRoot /var/www/html/mysite
  DirectoryIndex index.htm index.cfm index.html.var
  ServerName mysite.com
  ServerAlias *.mysite.com
  ErrorLog /var/log/httpd/mysite/error_log
  CustomLog /var/log/httpd/mysite/access_log combined
  JKAutoAlias /var/www/html/mysite
  JKMount /* worker1
  JKUnMount /*.htm worker1
  Location /WEB-INF/
    AllowOverride None
    deny from all
  /Location
/VirtualHost

server.xml:
    Engine name="Catalina" defaultHost="mysite.com"

      Realm className="org.apache.catalina.realm.UserDatabaseRealm"
             resourceName="UserDatabase"/

      Host name="mysite.com" appBase="/var/www/html/mysite"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false"
        Alias www.mysite.com /Alias
        Context path="" docBase="." debug="0" reloadable="true" /
        Listener className="org.apache.jk.config.ApacheConfig"
append="true" jkWorker="worker1" /
      /Host
    /Engine

If I try http://www.mysite.com/index.cfm, it works.
If I try http://www.mysite.com/index.htm, it works.
If I try http://www.mysite.com/nonexistentfile.cfm, I get an error from
OpenBlueDragon
If I try http://www.mysite.com/nonexistentfile.htm, I get an error from
Apache httpd
If I try http://www.mysite.com/nonexistentfile.gif, I get an error from
Apache Tomcat
If I try http://www.mysite.com/test/index.htm, it works
If I try http://www.mysite.com/test/index.cfm, it sends me the source code
to the CF page
If I try http://www.mysite.com/test/nonexistentfile.cfm, I get an error
from Apache Tomcat.

What am I doing wrong?

Thanks,
Ross.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to