You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Mike Egglestone <mi...@fc.schdist57.bc.ca> on 2000/12/20 08:37:49 UTC
cgi scripts
Hi all..
I'm very new to apache and perl...
but I'm stuck with a web page that has some
.acgi and .cgi files....
I'm running potato and did an apt-get install apache-perl...
It wiped out my apache and perl seperately....(early installs)
That seemed good...
everything seems good except for those scripts....
These are the changes I made to the default srm.conf and access.conf files...
ScriptAlias /cgi-bin/ /var/www/Scripts/
...and later down the file....
AddHandler cgi-script .cgi
This is the change in the access.conf:
<Directory /var/www/Scripts/>
AllowOverride None
Options ExecCGI FollowSymLinks
</Directory>
I think thats it.....the web page stuff is in /var/www/
and along with some other junk....gifs and such...
the Scripts folder in there has some other folders with other .cgi and .acgi files
kicking around.......
I've checked the permissions.. I think they're fine....
If I try http://localhost/cgi-bin/blahblah.cgi... I get an Internal server error.....
or if I try a couple folders past ..../cgi-bin/............. .cgi same thing....
I'm thinking that the script isn't being executed by perl ...
I figure I'm missing something in my conf files...
gotta hunt through those docs again....
Any help on this matter is greatly appreciated....
Mike
Re: cgi scripts
Posted by "G.W. Haywood" <ge...@www.jubileegroup.co.uk>.
Hi there,
On Tue, 19 Dec 2000, Mike Egglestone wrote:
> ScriptAlias /cgi-bin/ /var/www/Scripts/
> ...and later down the file....
> AddHandler cgi-script .cgi
Look for mention of the ScriptaAlias directive in
http://perl/apache.org/guide
> Options ExecCGI FollowSymLinks
You might want to investigate the use of '+' in front of those.
> I'm thinking that the script isn't being executed by perl ...
It's that Guide again!
> gotta hunt through those docs again....
Start with the one entitled "SUPPORT". It comes with mod_perl.
Then the Guide. (You'll be a while, reading that:)
73,
Ged.