On Wed, Dec 19, 2001 at 08:44:21PM +0200, Jaak wrote:
> When I use
> [- require "test.pl"; -]
>
> test.pl =>
> $lang{'test'} = "testing..."; 1;
>
> appeares only once when using [+ $lang{'test'} +]
> When realoading page $lang{'test'} seems to be empty.
>
> What am I doing wrong?
1. using re
Does anyone have an example how to set up httpd.conf
so that there is a separation between public and private code:
.../epl/ public/ index.html
private/
my private .epl code
The DocumentRoot will be .../epl/public/
Yet in index.html I can Execute stuff in private/
T
I have the following code snippet, which is being migrated from 1.3.4 to
2.0b5:
[- $prev_page_id = 0 -]
[$ while $figure = $query->fetchrow_hashref() $]
[$ if $figure->{page_id} != $prev_page_id $]
[$ if $prev_page_id $]
<-- ERROR LINE
[$ endi
Hi!
When I use
[- require "test.pl"; -]
test.pl =>
$lang{'test'} = "testing..."; 1;
appeares only once when using [+ $lang{'test'} +]
When realoading page $lang{'test'} seems to be empty.
What am I doing wrong?
-
To unsubs
> Yeah, unfortunately [PT] seems also seems to prepend DocumentRoot to the
> beginning of a URL which therefore makes it impossible to Rewrite to
> something outside this directory.
>
> The weird and wonderful world of mod_rewrite eh?!
>
Yes. On the other side when you are already inside of a
Yo
Whoops - I messed up.
What I meant was
RewriteRule ^/foo /docroot/filename.epl
so that asking for http://servername/filename.epl would give what we want
but asking for http://servername/foo gives us the raw code.
I've since narrowed it down to EMBPERL_FILESMATCH - so it all seems to work
unles
Yeah, unfortunately [PT] seems also seems to prepend DocumentRoot to the
beginning of a URL which therefore makes it impossible to Rewrite to
something outside this directory.
The weird and wonderful world of mod_rewrite eh?!
Mike
-Original Message-
From: Gerald Richter [mailto:[EMAI
>
> But if I put a rewrite rule like this in
>
> RewriteEngine on
> RewriteRule ^/foo$ http://servername/foo [L]
>
are you sure you mean ^/foo$ ? There is no .epl extension, so you FilesMatch
can't work.
Gerald
-
Gerald Richtereco
>
> What I meant was
>
> RewriteRule ^/foo /docroot/filename.epl
>
> so that asking for http://servername/filename.epl would give what we want
> but asking for http://servername/foo gives us the raw code.
>
> I've since narrowed it down to EMBPERL_FILESMATCH - so it all seems to
work
> unless I ha
Hi!
>
> When using Apache::Session
> PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:test UserName=root
> Password="
>
> worked ok.
>
> When I use Apache::SessionX it uses only the values that I entered when
> doing Makefile.PL.
>
> How to modify those default values?
>
EMBPERL_SESSION_ARGS
Dear All,
I'm having some trouble configuring apache to recongnise embperl files that
are executed after a rewrite. I've got this working with some configs but
not others - but haven't been able to work out what the difference is.
The standard way to configure does work, in that if I have this
11 matches
Mail list logo