> Alias /gestdep /home/irm/gestdep/ehtml
> <IfModule mod_perl.c>
> #    PerlModule Apache::Registry
>      AddType text/html .ehtml
>     <Location /gestdep/*.ehtml>

This will not work <Location> does not accept wildcards. If you need this
you have to use LocationMatch

> SetHandler perl-script
> PerlHandler HTML::Embperl #Apache::PerlRun
> Options -Indexes ExecCGI
> PerlSendHeader On
> </Location>
> </IfModule>
> --
> and in ~/gestdep/ehtml/.htacess
> --
> SetEnv EMBPERL_DEBUG 2285
> #~ permite que o match seja feito por regexp
> <Files ~ (\.ehtml)>

Simply write

<Files *.ehtml>


> SetHandler perl-script
> PerlHandler HTML::Embperl
> </Files>
> Options -Indexes ExecCGI
> AddType text/html .ehtml
> --
>
> what happened:
> Embperl scripts dont run. they show the code instead of the results.
> .ehtml files dont get the txt/html type, so it displays the html result as
> text.

Do you see any error message in your httpd error log ?

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to