mysterious: htaccess-password and s9y-login

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

mysterious: htaccess-password and s9y-login

Post by stm999999999 »

hello,

I have a blog which is on a public server, but only for testings. So I make a htaccess-passwd protection to the whole blog in the .htaccess after the s9y-stuff:

Code: Select all

AuthUserFile /blog-path/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic
<Limit GET POST>
require user sankt
</Limit>
and now:

my browser asks me the htaccess-password and then I can view the blog. But s9y does not like my author-login anymore! "wrong username or password!" :cry:

removing the code above, all works perfect again.
Ciao, Stephan
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Post by Timbalu »

This is just a hack!
Please try and edit serendipity.config.inc.php

Code: Select all

if (!isset($serendipity['useHTTP-Auth'])) {
    $serendipity['useHTTP-Auth'] = true;
}
to

Code: Select all

if (!isset($serendipity['useHTTP-Auth'])) {
    //$serendipity['useHTTP-Auth'] = true;
}
Ian
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

thanks, works fine!
Ciao, Stephan
Post Reply