You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Florian 'cit' Adamsky <ci...@spin.de> on 2006/01/06 14:34:14 UTC
epocgi.pl
Hoi List,
I programmed some templates and used embpcgi.pl for this. Now I would
like to use epocgi.pl, because I need a better navigate structure. When
I'm accessing my site: http://test/cgi-bin/epocgi.pl/index.tmpl, I
always get the 404 errorcode. The same site works fine with embpcgi.pl.
What I'm doing wrong?
Here is my epocgi.pl:
BEGIN
{
$ENV{EMBPERL_APPNAME} = "blog";
$ENV{EMBPERL_OBJECT_BASE} = "index.tmpl";
$ENV{EMBPERL_OBJECT_ADDPATH} = "/home/www/html/";
%Embperl::initparam = (use_env => 1, use_redirect_env => 1) ;
}
greets
cit
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: epocgi.pl
Posted by Florian 'cit' Adamsky <ci...@spin.de>.
Am Sonntag, den 08.01.2006, 13:37 +0100 schrieb Gerald Richter:
> I would expect that index.tmpl is not found. What is the output in the http
> error log and /tmp/embperl.log
After spending some hours it finally works. I have read the manpage and
set $ENV{EMBPERL_OBJECT_FALLBACK} to "/home/www/html/error.html"
thanks and greets
cit
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: epocgi.pl
Posted by Gerald Richter <ri...@ecos.de>.
>
> I programmed some templates and used embpcgi.pl for this. Now
> I would like to use epocgi.pl, because I need a better
> navigate structure. When I'm accessing my site:
> http://test/cgi-bin/epocgi.pl/index.tmpl, I always get the
> 404 errorcode. The same site works fine with embpcgi.pl.
> What I'm doing wrong?
>
> Here is my epocgi.pl:
>
> BEGIN
> {
> $ENV{EMBPERL_APPNAME} = "blog";
> $ENV{EMBPERL_OBJECT_BASE} = "index.tmpl";
> $ENV{EMBPERL_OBJECT_ADDPATH} = "/home/www/html/";
> %Embperl::initparam = (use_env => 1, use_redirect_env => 1) ;
> }
>
I would expect that index.tmpl is not found. What is the output in the http
error log and /tmp/embperl.log
Gerald
** Virus checked by BB-5000 Mailfilter **
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org