You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Júlio Maranhão <ju...@ieav.cta.br> on 2006/10/10 17:24:08 UTC
[users@httpd] How to use DirectoryIndex when SetHandler is perl-script?
I want
http://some.site/webcal
or
http://some.site/webcal/
to call
http://some.site/webcal/webcal.pl
DirectoryIndex webcal.pl does not work inside the Directory below. So I tried
mod_rewrite. No luck. I never used it before. Any help?
PerlRequire "E:/Open/webcal/cgi-bin/startup.pl"
Alias /webcal "E:/Open/webcal/cgi-bin"
RewriteEngine On
RewriteRule ^/webcal$ /webcal/webcal.pl [R=permanent]
<Directory "E:/Open/webcal/cgi-bin">
AllowOverride All
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Allow from all
</Directory>
Júlio
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org