Version info:  apache_1.3.9, mod_perl-1.21, mod_ssl-2.4.9-1.3.9, openssl-0.9.4.

I recently upgraded my mod_perl installation with SSL by following the
OpenSSL and mod_perl HOWTO.  Now, all of my mod_perl handlers give me
a 403 and the following error:

[Fri Jan 14 10:03:24 2000] [error] [client 207.168.228.68] Directory index forbidden 
by rule: /home/httpd/wuertele.com/html/test/

For example, I have one directory called
"/home/httpd/wuertele.com/html/photos/" that contained the following
.htaccess file:

SetHandler perl-script
PerlHandler Stonehenge::Pictures
PerlSendHeader On

This photo album handler worked fine before the upgrade, but now I get
the 403 and the "Directory forbidden by rule" error.

My perl config looks as follows:

### Section Dave: mod_perl
AddModule mod_perl.c

# startup.perl loads all functions that we want to use within mod_perl
Perlrequire /usr/local/apache/conf/startup.pl

Alias /perl/  /home/httpd/perl/

PerlSetEnv PERLDB_OPTS "NonStop=1 LineInfo=/tmp/db.out AutoTrace=1 frame=2"
PerlModule Apache::Registry Apache::DB CGI Apache::StatINC Apache::DBI
PerlInitHandler Apache::StatINC

<Location /perl>
  PerlFixupHandler Apache::DB
  SetHandler perl-script
  PerlHandler Apache::Registry
  Options ExecCGI
  PerlSendHeader On
  PerlInitHandler Apache::StatINC
  PerlSetVar StatINCDebug On
</Location>

PerlTaintCheck On

<Location /perl-status>
  SetHandler perl-script
  PerlHandler Apache::Status
  order deny,allow
  deny from all
  #allow from 
</Location>

The perl modules are readable and executable by nobody:

[root@grave Stonehenge]# pwd
/home/httpd/perl/lib/Stonehenge
[root@grave Stonehenge]# ls -l
total 24
-rwxr-xr-x   1 root     nobody      10628 Jan  5 07:55 Pictures.pm
[root@grave Stonehenge]# 

Any clues for sale?
Dave

Reply via email to