Hey, all --

I recently finished setting up an install of Apache2 and modperl on a
SuSE 9.1 server.  The install was done from RPM.

The server primarily runs a trouble ticketing system which uses
HTML::Mason and MySQL for page displays and content.  All of the perl
functionality is present and working.

The problem at the moment is that modperl seems to be
over-riding/preventing the display of index.html index pages (or
index.php, or index.shtml, or anything else).  Has anyone else seen this
behavior, or does anyone have suggestions as to where I might start to
look?

I have a vague suspicion that the "set-handler perl-script" option is
somehow responsible...but I'm not sure...

Some relevant sections of the /etc/apache2/httpd.conf file:

ServerRoot "/opt/rt3/share/html"
LoadModule access_module
/usr/lib/apache2-prefork/mod_access.so
LoadModule actions_module
/usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module
/usr/lib/apache2-prefork/mod_alias.so
#LoadModule auth_module
/usr/lib/apache2-prefork/mod_auth.so
#LoadModule auth_dbm_module
/usr/lib/apache2-prefork/mod_auth_dbm.so
LoadModule autoindex_module
/usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module
/usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module
/usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module
/usr/lib/apache2-prefork/mod_env.so
#LoadModule expires_module
/usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module
/usr/lib/apache2-prefork/mod_include.so
LoadModule info_module
/usr/lib/apache2-prefork/mod_info.so
LoadModule log_config_module
/usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module
/usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module
/usr/lib/apache2-prefork/mod_negotiation.so
LoadModule perl_module                    /usr/lib/apache2/mod_perl.so
LoadModule php4_module
/usr/lib/apache2-prefork/libphp4.so
#LoadModule rewrite_module
/usr/lib/apache2-prefork/mod_rewrite.so
LoadModule setenvif_module
/usr/lib/apache2-prefork/mod_setenvif.so
#LoadModule ssl_module
/usr/lib/apache2-prefork/mod_ssl.so
LoadModule status_module
/usr/lib/apache2-prefork/mod_status.so
#LoadModule suexec_module
/usr/lib/apache2-prefork/mod_suexec.so
#LoadModule userdir_module
/usr/lib/apache2-prefork/mod_userdir.so
LoadModule usertrack_module
/usr/lib/apache2-prefork/mod_usertrack.so


DocumentRoot "/opt/rt3/share/html"

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

DirectoryIndex index.html index.html.var index.php index.php3 index.cgi
index.pl

<Directory "/opt/rt3/share/html">
    Options Indexes FollowSymLinks
    AllowOverride None

    Order allow,deny
    Allow from all

</Directory>

<Directory "/srv/www/perl-lib">
    AllowOverride None
    Options None
    Order allow,deny
    Deny from all
</Directory>

<IfModule mod_perl.c>
    PerlRequire "/etc/apache2/mod_perl-startup.pl"
    PerlRequire "/opt/rt3/bin/webmux.pl"

    ScriptAlias /perl/ "/srv/www/cgi-bin/"
    <Location /perl/>
        # mod_perl mode
        SetHandler perl-script
        PerlResponseHandler ModPerl::Registry
        PerlOptions +ParseHeaders
        Options +ExecCGI
    </Location>

    ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/"
    <Location /cgi-perl>
        # perl cgi mode
        SetHandler  perl-script
        PerlResponseHandler ModPerl::PerlRun
        PerlOptions +ParseHeaders
        Options +ExecCGI
    </Location>

<Location />
        SetHandler perl-script
        PerlHandler RT::Mason
</Location>
</IfModule>




--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to