Hi,

We're currently running the (now ancient) BlueDragon Free version and will 
be switching to OpenBD sometime in the future. While testing our existing 
setup on our OpenBD test server I ran into a problem with mod_alias.

The test server is running CentOS 5.5 x86_64, Apache 2.2.3 (from CentOS 
RPM), Tomcat 6.0.29 on JRE 1.6.0_23-b05 and OpenBD 1.4 installed using 
openbd-1.4-pl0-linux-x64-installer.run. Configuration is pretty much what it 
was coming out of the box.

We're currently using AliasMatch to map various virtual paths to a single 
directory with the following AliasMatch rule in Apache (under VirtualHosts):

AliasMatch ^/blog/([a-z0-9_\-]+z)/(.*)$ /www/blog/$2

So, for instance, a request to /blog/foobar/pictures.cfm loads the physical 
file /www/blog/pictures.cfm. pictures.cfm parses cgi.script_name and acts 
accordingly.

While this has worked with BlueDragon and servlet-exec, I can't seem to wrap 
my head around getting it working with OpenBD/Tomcat.

If I create two files, /www/blog/test.cfm and /www/blog/test.html and load 
them the .html loads OK while .cfm throws a File Not Found error fron BD. 
Apache access log for the requests:

[28/Apr/2011:05:22:06 +0000] "GET /blog/test.html HTTP/1.1" 200 25 "-"
[28/Apr/2011:05:22:08 +0000] "GET /blog/test.cfm HTTP/1.1" 404 385 "-"

I'm using ajp13 connector with mod_jk with the following VirtualHost 
configuration in Tomcat:

<Host name="10.1.1.201" appBase="webapps"
  unpackWARs="true" autoDeploy="true"
  xmlValidation="false" xmlNamespaceAware="false">
  <Context path="" docBase="/www/" />
  <Alias>devsrv1.ad.local</Alias>
</Host>

I'm rather sure this is just a configuration issue, but not being that 
familiar with Tomcat, I'm fresh out of ideas on where to continue debugging.

Any tips and pointers are more than welcome!

Thanks,

 Jari

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to