adam beecher's [adam at iewebs.com] 53 lines of dribble included:
<:Ordinarily I'd say it's an Apache permissions problem, but the fact that
<:you're getting a "Premature end of script headers" error implies that the
<:script is *trying* to run, but there's an error in there somewhere - a
<:missing semicolon or summat similar. But the fact that it runs in your
<:UserDir and dunt in the VirtualHost knocks that on the head. So I still
<:reckon it may be permissions. Did you set up the UserDir Directory with the
<:That'll probably screw it up anyway. If not though, the best thing is
<:probably to post your httpd.conf and the script saved with a .txt extenstion
<:on the web somewhere so we can have a look at it.
OK. Well basically the problem originates from myself.
A simple perl script that just outputs text works. But basically I have a line
at the top
It should be looking for that in the current directory and it's not. I've
tried using absolute paths to it.
Error in logs/error_log is
Can't locate cgi-lib.pl in @INC (@INC contains: /usr/libdata/perl/5.00503/mach
/usr/local/lib/perl5/site_perl/5.005 .) at
/home/committe/phil/public_html/cgi-bin/outings.pl line 2.
The last place that looks is the current directory which is the current
cgi-bin directory, so I don't see the problem.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!