In order to support Virtual Directories in IIS for OpenBD, you have to tell Tomcat where it can find the files for the virtual directories you create.

For example, I'm guessing your Tomcat server.xml contains something like the following:

        <Host name="mydomain.com" appBase="webapps">
             <Context path="" docBase="C:\inetpub\wwwroot" />
             <Alias>www.mydomain.com</Alias>
        </Host>

To support your Virtual Directory, you need to add a new Context tag, like so:

        <Host name="mydomain.com" appBase="webapps">
             <Context path="" docBase="C:\inetpub\wwwroot" />
             <Context path="/filemaker/" docBase="C:\fmadmin" />
             <Alias>www.mydomain.com</Alias>
        </Host>

This will inform Tomcat that if a request comes in asking for mydomain.com/filemaker/, that it can find the files for that request over in C:\fmadmin\. Essentially doing the same thing in Tomcat that a Virtual Directory does in IIS.

Hope this helps!

Warm regards,
Jordan Michaels

On 06/21/2011 04:18 PM, skprmark wrote:
I have for the most part a running Open Blue Dragon server working
properly. I can surf to it and get my hello world page. However I am
having one issue. I cannot seem to use Virtual Directories the way I
can IIS7 or a CF server.
For example in my default website I have two Virtual Directories, One
is the Jakarta directory needed for OBD, the second is one I want to
surf to. If I try and go to either of these I get a page not found
error. So in short I can surf to

http://mydomain.com/hello.cfm

However if I try to surf to

http://mydomain.com/filemaker/hello.cfm

I get a file not found error. Based on the debugging shown below it
appears OBD is looking for the files for this directory in the same
path as the site as opposed to where they are. For example

The main site files are in

C:\inetpub\wwwroot

The Virtual Directory is pointed to the path

C:\fmadmin

in IIS7 but the OBD server is using

C:\inetpub\wwwroot\filemaker

as the path. How do I get the virtual directories pointed correctly?
Do they need to be in the same path hierarchy as the main site?


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

Reply via email to