httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hasanuddin Tamir <...@trabas.com>
Subject Re: cgi and virtual host
Date Wed, 01 May 2002 02:21:27 GMT
On Tue, 30 Apr 2002, rott <rott@buckeye-express.com> wrote,

> i am new to apache and also to linux so im not sure if this is correct
> but it works im running this on apache 1.3.24 and rh 7.1
>
>
> i have set  ... Options Indexes Includes FollowSymLinks ExecCGI All MultiViews
>
> and for VH i haqve 2 both are set up like this
>
> <VirtualHost 192.168.1.100:80>
> ServerName rott.adobygonebad.com
> Documentroot /home/websites/rott.adobygonebad.com
> ScriptAlias /cgi-bin/ /home/websites/rott.adobygonebad.com/cgi-bin/
> SSLEngine off
> </VirtualHost>
>
> and the other is <VirtualHost 192.168.1.100:80>
> ServerName rott.adobygonebad.com
> Documentroot /home/websites/adobygonebad.com
> ScriptAlias /cgi-bin/ /home/websites/adobygonebad.com/cgi-bin/
> SSLEngine off
> </VirtualHost>

Why do you have two virtual hosts at the same ip and port, same sever name
but different document root. ?

>
>
> [Sun Apr 28 19:53:21 2002] [error] (2)No such file or directory: exec of /home/websites/rott.adobygonebad.com/cgi-bin/systemstatus.cgi
failed
>
> [Sun Apr 28 19:53:21 2002] [error] [client 192.168.1.1] Premature end of script headers:
/home/websites/rott.adobygonebad.com/cgi-bin/systemstatus.cgi
>
>
> [Sun Apr 28 19:53:31 2002] [error] (2)No such file or directory: exec of /home/websites/rott.adobygonebad.com/cgi-bin/systemstatus.cgi
failed
>
> any help getting cgi to work would be help full ;)

Is systemstatus.cgi really under rott.adobygonebad.com path?
Many other causes can be tracked, but let's start with that.


-- 
san->http(www.trabas.com)
{If Linux doesn't have solution, you have the wrong problem}



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message