perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Embperl/2.0b6 returns httpd/unix-directory instead of index.phtml
Date Thu, 02 Oct 2003 20:41:12 GMT
Add a <files *.phtml> like below to solve this problem:

>
> <Directory /var/www/html/commitments>

<Files *.phtml>

>  Options +FollowSymLinks
>  AddType text/html .phtml
>  DirectoryIndex index.phtml
>  SetHandler      perl-script
>  PerlHandler     Embperl
>  Options         ExecCGI
>  PerlSetEnv EMBPERL_ALLOW \.phtml$
>  PerlSetEnv EMBPERL_OPTIONS 2064
>  PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no

</Files>

> </Directory>
>

Gerald

BTW. You should upgrade to 2.0b9.  2.0b6 has some bugs...


--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message