[Xitami] want virtual host to point to an executable

Ayhan Tuncer xitami@lists.xitami.org
Mon, 30 Dec 2002 10:57:36 +0200


Marc Doigny wrote:
> 
> Hello !
> 
> i have a virtual host and wish to point directly to a executable.
> 
> That is: instead of having to enter
> http://my.server.be/redirect?xxx
> (redirect is an executable that points to a cable server (no fixed ip))
> 
> i would like something like
> http://my.server.be/xxx
> 
> That is the content of the specific cfg file for that VH:
> [Server]
>      Cgi-bin=webpages/verfaillie.be
>      Cgi-url=/
>      Default2=index.html
>      Webpages=webpages/verfaillie.be
> (the root dir is the executable directory and contains only one file,
> redirect.exe)


I believe naming your executable to the default1 page or vv should work.
It works on win32 for me through a cgi-alias but that should not be
imperative.