[thelist] CGI help
Means, Eric D
eric.d.means at boeing.com
Thu Jun 20 11:30:10 CDT 2002
> -----Original Message-----
> From: Kevin B. O'Brien [mailto:ahuka at ahuka.com]
> Sent: Thursday, June 20, 2002 11:14 AM
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] CGI help
>
> I think I know a little more than I did last time. In Martin's
presentation
> (http://www.evolt.org/article/Breadcrumbs_for_All/17/4428/index.html), he
> says to include the script on the page using this line:
>
> script not found or unable to stat: /home/httpd/cgi-bin/cookie_trail.cgi
>
> The problem is that the path it is looking at for the script is clearly
> wrong. It should be in /home/wwwtest/cgi-bin/, but how to get it to look
> there? I say it should be in that directory because I am working in a test
> directory on this before putting anything on the main site.
>
> Can someone explain to me what is going on here?
It's trying to access the file at its virtual path. That is,
virtual="/cgi-bin/cookie_trail.cgi" is the same path you would get if you
went to http://www.yourserver.com/cgi-bin/cookie_trail.cgi. You either need
to create a new "test cgi" virtual directory that points to the real path
you want, and then use virtual="/cgi-test/cookie_trail.cgi", or else use
file="/home/wwwtest/cgi-bin/cookie_trail.cgi", since file= uses the real
path instead of the virtual.
More information about the thelist
mailing list