Where is the root of a virtual directory?
I have an HTML page that the user clicks a link on. It points to a "virtual directory" and it's correspondin APL function. It runs and returns a page back to the browser that points to a subdirectory for graphics as in:
<img source="images/header.gif">
However, the virtual directory looks like: www.mysite.com/apl/signup so the resulting link looks like www.mysite.com/apl/images/header.gif and it does not find it. Interesting note is the web directory tree looks like:
APLwww
WS
Logs
Public
Talisman
images
The workspaces are in the WS subdirectory. Logs are where all the log files are kept. Public houses the web sites.
I wanted the link to be www.mysite.com/talisman/images. Are the vitual directories hanging off of APLwww/Public? I tried "../talisman/images" and hard coding the location to no avail.
Also, I noticed that a virtual directory has to start with a "/" if the system is going to find it. Is this true, or have I botched my install?
Jon.