Robert Becker wrote:

> I have a Perl CGI script in the cgi-bin directory that works just fine. I
> have copied it to a file in the same directory with a different name, but
> everything else is the same - The text is the same, the permissions are
> the same. However, if I change the line in the calling HTML from old.cgi to
> new.cgi, I get a 'File Not Found' error.
> 
>   <a href ="cgi-bin/old.cgi">CGI test</a>   ...this works fine
>   <a href ="cgi-bin/new.cgi">CGI test</a>   ...this errors out
> 
> Any ideas as to what might cause this? I have re-copied and renamed
> and reset the perms multiple times. I have restarted the connection and
> stopped and started the browser each time. Nothing I do helps.


try it with a leading slash in your links:

<a href="/cgi-bin/old.cgi">CGI test</a>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to