Charles Stack on Fri, 10 Dec 1999 16:10:33 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Plug] Anybody know how...


to execute a cgi script named index.cgi that resides in the html root
directory.

I'm running Apache 1.3.9 and can't seem to figure out what I must do to call
the cgi program when the a URL of the following type executed.  I've read
the documentation but can seem to figure it out.

http://www.mydomain.com

I've got a perl script that needs to execute to direct a user to the
appropriate directory (i.e. we have our website in three formats: highband,
lowband, and textonly).  Ultimately, the script generates a simple dynamic
document with a cookie and Location header pointing to an index.html page in
the proper directory.

BTW, if I execute http://www.mydomain.com/index.cgi all works fine.  If I
execute http://www.mydomain.com, I get the text of my script.

Thanks,

Charles


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug