[Xitami] [Alias] and [Filter] do conflict?

Pieter Hintjens xitami@lists.xitami.org
Thu, 12 May 2005 20:20:08 +0200


On 12/05/2005 08:04 pm, Maurilio Longo wrote:

> With this last fix I can now correctly execute http://localhost/wiki/
pmwiki.php

That's nice.

> :) _but_ I cannot execute http://localhost/schede/pmwiki.php since, after
> : the first request, all links point to /wiki/ instead of /schede/.

?... Ah, I understand: the generated PHP page links contains the real path 
rather than the alias.  There must be another environment variable that is 
being wrongly set.  If PHP is using PATH_TRANSLATED then we are stuck because 
it means there is basically no way to run PHP scripts on an alias.

> but it is not a big problem since it is easily fixed simply having the
> [Alias] equal to the folder it is aliasing...

Not really a good fix since it's just avoiding the problem.  We should find 
out what variable PHP is using, and fix that.

-Pieter