httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Júlio Maranhão <ju...@ieav.cta.br>
Subject [users@httpd] How to use DirectoryIndex when SetHandler is perl-script?
Date Tue, 10 Oct 2006 15:24:08 GMT
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


Mime
View raw message