I install apache 1.3.26 / modperl 1.27 with model_rewite module, but apache
doesn't call my handler subroutine (i use Apache::PageKit) for root in my
htdocs/:
Request http://localhost/index works fine, but http://localhost/ shows me
list of directories and files in my htdocs/ directory. Why?

Here is my httpd.conf:

httpd.conf (quotation):
-----------
DocumentRoot "/usr/local/apache-new/htdocs"

PerlSetEnv AppConfig "/usr/local/apache-new/conf/appconfig.conf"
PerlRequire "appconfig.pl"

<Directory "/">

PerlSetVar PKIT_ROOT /usr/local/apache-new/htdocs
PerlSetVar PKIT_SERVER staging
SetHandler perl-script
PerlHandler +Apache::PageKit

<Perl>
use lib "/usr/local/apache-new/htdocs/lib/perl";
Apache::PageKit->startup("/usr/local/apache-new/htdocs","staging");
</Perl>

</Directory>

-----------

Thank you very much,
Best wishes!
----------------------------------------------------------------------------
Anton Permyakov           Web-Developer
[EMAIL PROTECTED]   WWW.SOLUDIUM.COM

Reply via email to