[Xitami] Defining cgi programs
dan
xitami@lists.xitami.org
Thu, 05 Sep 2002 03:34:57 +1200
Hello,
I've defined cgi-bin and installed my cgi script in a directory under
it, and i can call it fine.
However, instead of passing the url
http://myserver.co.nz/cgi-bin/myapp/script.cgi to people i'd like to
pass a much nicer url http://myserver.co.nz/myapp/
Now i've figured out i can call the script index.html and place it in a
directory under cgi-bin so that i just have the directory name in the
URL and not need to specify the script filename in the url, but i can't
figure out how to get rid of the cgi-bin part.
I've tried specifing aliases,
myapp = cgi-bin/myapp just gave 404,
myapp = <full path>/cgi-bin/myapp/ delivered the contents of the script
instead of executing it (very bad!)
So, is there something i've missed or is there no way to do this in xitami?
TIA
dan.