CGI as Root Doc ?

Is there a way to make a CGI the root doc?

My configuration is:

/usr/www/httpd
/usr/www/cgi

HTTPD_ROOT_DIR=/usr/www/httpd
HTTPD_ROOT_DOC= ?
HTTPD_SCRIPTALIAS=/usr/www/cgi

I can access the cgi remotely using url/cgi-bin/mycgi, however I’d like the
cgi to be opened as the root document without having to specify the cgi-bin
etc. and still have the integrity I have now.

Thank you,


Simon Platten, Senior Software Engineer

VT Controls
Bessemer Way, Harfreys Industrial Estate, Great Yarmouth, Norfolk, NR31 0LX.
Tel: (0)1493 668811 Fax: (0)1493 651137
Email: simon.platten@vtcontrols.co.uk

Any views or opinions expressed are solely those of the author and do not
necessarily
represent those of VT Group, its holding company or any of its subsidiaries
or associates.

“Simon A. Platten” wrote:

Is there a way to make a CGI the root doc?

We did it by making a small HTML document that loads the CGI:

If you replace “yourcgifile” with the file you want to load, and make
this HTML document the root document, it should do what you want.

lew

Thanks !

“Lewis Donzis” <lew@nospam.donzis.com> wrote in message
news:3DD0F391.F146A422@nospam.donzis.com

“Simon A. Platten” wrote:
Is there a way to make a CGI the root doc?


We did it by making a small HTML document that loads the CGI:

html> <head
meta http-equiv=“refresh” content=“0;URL=cgi-bin/yourcgifile”
/head> </html

If you replace “yourcgifile” with the file you want to load, and make
this HTML document the root document, it should do what you want.

lew

Cool, the reply to your post is a web news virus !

Rennie