Re: PerlSendHeader On

2003-03-18 Thread Bleicke Holm
Perrin Harkins wrote:
> 
> Bleicke Holm wrote:
> > I continue to get returned the source-code. Searching the doc and
faqs
> > it looks as if I should turn on PerlSendHeader. But that's already done!
> 
> Make sure the file is executable by the user that the server is running
> as. 

I've checked that one. It was world-executable. To be sure I changed the
user that the server is running as to the one owning the test script and
the directory it lives in. No go! A parent directory actually was a
symlink, I've changed that, too: still no way...

> Also, make sure that mod_perl is actually running by checking the
> error_log as described in the docs.
> 
For the time being there is no error message at all dans the error_log.
I'll try and see if I can get things more verbose.

Thanks for your answer anyway,
Bleicke


PerlSendHeader On

2003-03-15 Thread Bleicke Holm
Hi,
I am quite desperately trying to get mod_perl working.
I continue to get returned the source-code. Searching the doc and faqs
it looks as if I should turn on PerlSendHeader. But that's already done!
Also ExecCGI should be activated for the location.
In summary: 
http://foot/cgi-bin/test.pl works
http://foot/cgi-perl/test.pl DOESN'T

Here's my VirtualHost section:

  User holm
  Group users
  ServerName foot
  LogLevel debug
  DocumentRoot /var/www/foot/httpdocs
  ServerAdmin [EMAIL PROTECTED]
  ErrorLog /var/log/apache/foot-error.log
  TransferLog /var/log/apache/foot-access.log
  Alias /cgi-bin/ /var/www/foot/cgi-bin/
  Alias /cgi-perl/ /var/www/foot/cgi-bin/
  PerlModule Apache::PerlRun
  
#deny from all
SetHandler perl-script
PerlHandler Apache::PerlRun
Options ExecCGI
PerlSendHeader On
  
  
SetHandler cgi-script
Options ExecCGI 
  
  AddType application/x-httpd-php .php
  php_admin_value open_basedir /var/www/foot/httpdocs/


Anyone can help me out with this???
Cheers,
Bleicke