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:
<VirtualHost 127.0.0.1>
  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
  <Location /cgi-perl>
#    deny from all
    SetHandler perl-script
    PerlHandler Apache::PerlRun
    Options ExecCGI
    PerlSendHeader On
  </Location>
  <Location /cgi-bin>
    SetHandler cgi-script
    Options ExecCGI 
  </Location>
  AddType application/x-httpd-php .php
  php_admin_value open_basedir /var/www/foot/httpdocs/
</VirtualHost>

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

Reply via email to