Hi.
I solved this prob.
25Sep2005 @ 14:26 Gerald Richter thusly spake
> > httpd.conf
> > /~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > NameVirtualHost 10.1.1.3:80
> >
> > <VirtualHost 10.1.1.3:80>
> > ServerName www.mydomain.com
> > ServerAdmin [EMAIL PROTECTED]
> > DocumentRoot /www/mydomain/com/htdocs
> > DirectoryIndex index.html
> > ErrorLog /www/mydomain/com/logs/error_log
> > TransferLog /www/mydomain/com/logs/access_log
> > PerlSetEnv EMBPERL_ESCMODE 0
>
> Please use "Embperl_Escmode 0" (without PerlSetEnv), same for the other
> Embperl directives
I added the
'Embperl_Appname whatever'
directive
then it worked :-)
So now I have:
/~~~~~~~~~~~~~~~~~~~~~~~~
<Directory "/myS/www/html/bla">
Embperl_Appname foo
Embperl_Escmode 0
Embperl_Options 16
Embperl_Object_Base base.epl
Embperl_Debug 1
<FilesMatch ".*\.html">
SetHandler perl-script
PerlHandler Embperl::Object
Options ExecCGI
</FilesMatch>
<FilesMatch ".*\.epl$">
Order allow,deny
Deny From all
</FilesMatch>
</Directory>
\________________________
Then when I call an html file I get
-base.epl:
base.epl contains:
/~~~~~~~~~~~~~~~~~~~
[- use CGI::Pretty ':standard' -]
[+ header +]
[+ start_html('The Title tags content') +]
[- Execute ('embed.epl') -]
[- Execute ('*') -]
[+ end_html +]
\__________________
This feels pretty good :-).
Kind regards.
Luke.
--
............._..
.| .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]