> 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
work
unless I have PerlSetEnv EMBPERL_FILESMATCH = "epl".
Cheers
Mike
-Original Message-
From: Gerald Richter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 2:46 PM
To: Michael Smith; Embperl
Subject: Re: embperl after a rewrite
>
> But if I put a rewr
:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 2:56 PM
To: Michael Smith; Embperl
Subject: Re: embperl after a rewrite
>
> What I meant was
>
> RewriteRule ^/foo /docroot/filename.epl
>
> so that asking for http://servername/filename.epl would give what we want
>
>
> 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
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