[Xitami] block /admin

Bernd Luevelsmeyer xitami@lists.xitami.org
Mon, 10 Dec 2001 09:32:48 +0100


Ewen McNeill wrote:
> 
> In message <018c01c16715$49549a60$0a00a8c0@enigmacomputers.com>, "Soulkoff" writ
> es:
> >Is there any way to get /admin to give a 404 or some such, as if it doesn't
> >exist?  Disabling the WBA doesn't seem to do this.
> 
> You need to disable the WSX entry as well.  Unfortunately (due to a bug)
> I think the only way you can do this is to edit xitami.cfg, and comment
> out the line:
> 
>     admin=xiadmin
> 
> (the bug that means that you can't override these settings is in our bug
> list already).

[Wsx]
  admin=""

works for me in defaults.cfg. That's 2.4d7 though. Asking for /admin
gives "501: not implemented" then.