如何配置apache使得网站根目录支持mod_perl和htm

如何配置apache使得网站根目录支持mod_perl和htm

我想让我的网站根目录同时支持mod_perl和htm、php,怎么弄请帮忙,我在虚拟主机下测试配置如下:
    DirectoryIndex index.pl index.html index.htm index.wml
    <Directory /var/web/it/html>
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options Indexes FollowSymLinks ExecCGI
    </Directory>
rhel 5 默认安装,没动php.conf
DirectoryIndex index.pl index.html index.htm index.wml
    <Directory /var/web/it/html>
        Options Indexes FollowSymLinks ExecCGI
    </Directory>
这样可以实现普通cgi,php,htm
http://perl.apache.org/docs/2.0/ ... ns.html#Description
Description

With <Perl>...</Perl> sections, it is possible to configure your server entirely in Perl.

<Perl> sections can contain any and as much Perl code as you wish. These sections are compiled into a special package whose symbol table mod_perl can then walk and grind the names and values of Perl variables/structures through the Apache core configuration gears.

这段好像干这个用的没看明白。