httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rott" <r...@buckeye-express.com>
Subject Re: cgi and virtual host
Date Wed, 01 May 2002 03:35:01 GMT
i got it to work was to many blank spaces on top of that script after the
shebang line ;)  no to try a diffrent script

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

because they each go to a diffrent name that is also in my DNS
adobygonebad.com is the main domain but i can set it so each member of my
family has there own little bit of it
rott.adobygonebad.com
damien.adobygonebad.com
romel.adobygonebad.com
etc..etc..

----- Original Message -----
From: Joshua Slive <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Tuesday, April 30, 2002 10:48 PM
Subject: Re: cgi and virtual host


>
> On Tue, 30 Apr 2002, rott wrote:
>
> > #!/usr/bin/perl
> > is what i have and that is where perl is located on my computer
>
> > From: Joshua Slive <joshua@slive.ca>
> > > rott wrote:
> > >
> > > >
> > > > [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
> > >
> > > See:
> > > http://httpd.apache.org/docs/howto/cgi.html#pathinformation
> > >
> > > The path to your script interpreter on the first line of
> > > systemstatus.cgi is not correct.
>
> Did you transfer this file between a windows system and a unix system?  If
> so, check that the line-endings are correct for unix.
>
> The real way to debug these problems is the following:
> cd /home/websites/rott.adobygonebad.com/cgi-bin
> ./systemstatus.cgi
>
> Until you can get the script to run like that, you have no chance of
> running it via apache.
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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