[Xitami] Some problems with XML file and directory listings

Francis Turner xitami@lists.xitami.org
Sat, 29 Sep 2001 17:21:55 +0200


Rod B. Nussbaumer wrote:

> David Broker wrote:
> 
>> Hi,
>> I was wondering if someone could help me with a few problems I was having?
>> I'm using Xitami 2.5b4 on Windows 98 for testing of my websites.
> 
>> And my other problem; when clicking on a link in a directory listing the
>> URL in the address bar will come up like so:
>> http://127.0.0.1/test%2Ephp
> 
> 
> Same problem here, with 2.5b4 on Win95.  I reported this a few months
> ago, and the only recommendation I got was to make sure Xitami was
> out in it's own directory; ie not under 'Program Files'.  I tried that
> and it didn't help.  I'm still hoping someone can come up with a solution.
> 
> 	---   rod.
> 
This is fixed by the same name/nameurl fix that ewen mentioned fixing 
the double extension issue.

You need to modify the httpdir.gsl (or better copy it, modify the copy 
and use the copy instead of the original) in the templates directory.

Line 89 is in the original form:

<A HREF="$(urlbase:)$(nameurl:)"><IMG SRC="$(icon)" 
BORDER=0>$(name:)</A></TD>

You should change this to :

<A HREF="$(urlbase:)$(name:)"><IMG SRC="$(icon)" BORDER=0>$(name:)</A></TD>

Personally I think this is the correct behaviour. Nameurl seems to be a 
bit too escaped to be useful for anything

Francis