l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jun 13 13:19

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Perl cgi scripts not executing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Perl cgi scripts not executing

On Friday 13 June 2003 12:33 pm, Richard Crawford wrote:
> > Might you have the perl script stuff defined in an .htaccess file that
> > may be  on one server but not the other?
> Nope.
> > Are there any files being included in the httpd.conf ?  Do these match
> > somewhat?
> No included files, but plenty of LoadModule directives.  When I copied the
> httpd.conf file down from Neo to Trinity, I tried to use it "as is"; and I
> received a number of errors telling me that some of the modules were built
> in to Apache and didn't need to be loaded, so I commented out the relevant
> LoadModule directives.
> > Are there any errors at all being put in the error_log file
> > when  your script is attempted to execute?
> No errors.
> > what's the directory
> > directive look  like for where your script is?
> Do you mean the #! line at the top of the script?  It's:
> #! /usr/local/bin/perl
> in all scripts on both servers.  Perl 5.8.0 is installed in the same
> location on both servers.
> I know this is something really stupid that I'm going to kick myself for
> not seeing earlier, but this has been driving me batty for a week.

Nah, not where perl is located.  The Directory directive in apache.  For 

    <Directory /usr/home/*/public_html/perl>
	SetHandler perl-script
	PerlHandler Apache::PerlRun
	Options -Indexes ExecCGI
	PerlSendHeader On

One other thing I just thought of.  Is the CGI script in a home directory? I 
had a bear of a time with a problem with php and perl because of that, and 
because I use a symlink from /home to /usr/home(and in /etc/passwd it uses 

Mike Wenk
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.