httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <supp...@gej-it.com>
Subject RE: [users@httpd] virtual host / cgi
Date Tue, 26 Aug 2003 01:09:06 GMT
Add the following directives to your httpd.conf:

<Directory /home/hosted/public_html/pl>
Options +ExecCGI -Indexes
AddHandler cgi-script .cgi .pl
</Directory>

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: Localhost [mailto:localhost@pestcontrolgaming.com]
> Sent: Monday, August 25, 2003 8:27 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] virtual host / cgi
> 
> tried that and it still wont work. i even did chmod 777 every dir/file
that
> is involved.  i dont know if its maybe a conf file problem or what.
> 
> 
> ----- Original Message -----
> From: "Joseph A Nagy Jr" <joseph_a_nagy_jr@charter.net>
> To: <users@httpd.apache.org>
> Sent: Monday, August 25, 2003 4:56 AM
> Subject: Re: [users@httpd] virtual host / cgi
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sunday 24 August 2003 18:18, Localhost wrote this in an attempt to be
> witty and informative:
> > im having problems getting cgi/perl scripts to execute through a
> > vhost on my apache 1.3 server.
> >
> > the error log says
> >
> > [Sun Aug 24 16:14:25 2003] [error] [client xx.xx.xxx.xx] Premature
> > end of script headers: /home/hosted/public_html/pl/pquery.pl
> >
> > the script runs fine when it is run outside of the vhost, and i am
> > sure that permissions are set fine (all folders are chmod 711 and the
> > script is chmod 755).
> >
> > i made a directory block to allow cgi but it didnt seem to work
> > either, but here it is.
> >
> > <Directory /home/hosted/public_html/pl>
> > Options All Multiviews
> > </Directory>
> >
> >
> > any ideas?
> 
> Try opening the script, deleting and readding the last peice of text,
> save and close and try again. Sometimes that helps when I have that
> problem. Also, might want to make those dir's chmod 755
> 
> - --
> Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of
> Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and
> the -4 Shield of No Spell Checker. http://jan-jr-ent.homelinux.org
> http://joseph-a-nagy-jr.homelinux.org http://mc-luug.homelinux.org/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE/SfmKnjt9jEvKYeARAsoeAJ0a2Q+yRwxZxT9PNzGoSYa2GlWwwwCfW992
> WX4Cgvl5rimzM25ErYToaAY=
> =7huH
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-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
>    "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message