[Xitami] [Alias] and [Filter] do conflict?
Maurilio Longo
xitami@lists.xitami.org
Thu, 12 May 2005 20:04:03 +0200
Pieter,
I owe you a beer :)
With this last fix I can now correctly execute http://localhost/wiki/pmwiki.php
:) _but_ I cannot execute http://localhost/schede/pmwiki.php since, after the
first request, all links point to /wiki/ instead of /schede/.
I don't know if this is a "problem" in xitami, php.exe and/or pmwiki.php but it
is not a big problem since it is easily fixed simply having the [Alias] equal to
the folder it is aliasing:
[Alias]
/wiki = "w:/wiki"
maybe it is enough to write
[Alias]
/wiki = "/wiki"
if inside same volume, tomorrow I'll do some tests (and with a symlink I can have
/wiki to point to some other volume on my system :))
Thanks!
Maurilio.
Pieter Hintjens ha scritto:
> On 12/05/2005 06:12 pm, Maurilio Longo wrote:
>
> > sorry, it still does not work...
>
> OK, my mistake. It's that terrible time in the afternoon here in Brussels...
> Too late for coffee and too early for beer. Try this:
>
> if (filter)
> path_translated = xstrcpy (NULL, p_http-> file_name, NULL);
> else
> ...
>
> -
> Pieter Hintjens
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
--
__________
| | | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.