2007-08-14
linuxprocess
Well ... Maybe that's not a bug, but that's a strange behaviour ...
I've got a complete site under restricted access. So I'm using HTTP auth ".htaccess" in the root directory of my site.
I want to use DOKUWIKI in this site, but each time I ask for a page I've got the "badlogin" text displayed at the top at the screen.
In fact, Dokuwiki works well, but this omnipresent error message is annoying.
In inc/auth.php (l64) man find :
if(empty($_REQUEST['u']) && empty($_COOKIE[DOKU_COOKIE]) && !empty($_SERVER['PHP_AUTH_USER'])){
$_REQUEST['u'] = $_SERVER['PHP_AUTH_USER'];
$_REQUEST['p'] = $_SERVER['PHP_AUTH_PW'];
}
The problem is here because Doku uses HTTP Auth data, but I do not want that ...
Maybe add another config variable ?
As a workaround, I deleted this part of code.