View Single Post
Old 03-16-2007, 05:07 AM   #1 (permalink)
misho
New Member
 
Join Date: Mar 2007
Posts: 11
Default Run CGI script when site is visited.

I have CGI stuff working, but I want to run a script as soon as the main site is visited (i.e. when this appears in the address bar: http://www.[whatever].com/ ). Currently, I simply redirect to http://www.[whatever].com/cgi-bin/script.cgi with JavaScript, but that's really annoying. I'm certain there's a better way to do it, but I don't know how.

Thanks in advance for any input.
misho is offline   Reply With Quote