httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: CGI and ScriptAlias Alternatives
Date Tue, 04 Jun 2002 02:33:02 GMT
Ron Wingfield wrote:

> I'm having difficulty executing the in the common directory.  
> If I add a ScriptAlias, e.g.,
>   ScriptAlias /cgi-bin/   "/www/cgi-bin/perl/"
> to the httpd.conf container for the VirtualHost,
> After execution of the index.htm file in the host's DocumentRoot 
> directory, /www/vhosts/ (as directed in the httpd.conf file), 
> the error-log message contains:  "invalid CGI ref 
> "www/cgi-bin/perl/".  

This sounds conspicuously like you are using SSI, not direct CGI.  The 
error message is from the SSI.

Start by requesting the cgi script directly (as in and make sure that works.

Once that works, then try to get it to work in SSI.  Forget about "#exec 
cgi".  You should never use that.  Instead, use <!--#include 
virtual="/cgi-bin/perl/" -->.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message