Re: [Templates] Templates and mod_rewrite.

[prev] [thread] [next] [Date index for 2004/06/22]

From: =?ISO-8859-1?Q?Lo=EFc?= Paillotin
Subject: Re: [Templates] Templates and mod_rewrite.
Date: 09:43 on 22 Jun 2004

> I would not have thought Apache::Template would have affected=20
> mod_rewrite but I could be wrong.
Well it's more the opposite that's going on.
>  > But in the case of accessing through the rewrite rule, the server
>  > serves me the static page, without processing it.
>=20
> Which static page? Is it giving you the unprocessed template or a stati=
c=20
> page ie
It's serving me the unprocessed template file. mod_rewrite does the
usual URI-to-filename translation, gives back to apache wich file it
should serve, apache finds the file in the correct location, and happily
serves it back.=20

All my Apache::Template is in a :
<Location /tt2>
....
</Location>

>From what i understand it comes from the fact that mod_rewrite takes
over the URI-to-filename phase.

Another solution I would think of is replace my <Location> by a
<Directory> configuration section. (Checking this just after sending the
mail.=20

Thanx,=20

>=20
> /toto/static_page.html
>=20
>  > Any idea on how to get rid of this behavior? I guess you're gonna sa=
y:
>  > Use an external redirection ([R] flag in rewrite) However, I'd rathe=
r
>  > not to, for compatibility reasons with funny browsers.
>=20
> I don't think you will need an external redirect but we will need *more=
=20
> information*.
>=20
> Harry
--=20
Lo=EFc.


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

(message missing)

[Templates] Templates and mod_rewrite.
=?ISO-8859-1?Q?Lo=EFc?= Paillotin 09:22 on 22 Jun 2004

Re: [Templates] Templates and mod_rewrite.
=?ISO-8859-1?Q?Lo=EFc?= Paillotin 09:43 on 22 Jun 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52