PDA

View Full Version : Bug or not : a admin access when posting comment


Cba
03-17-2006, 06:59 PM
I don't now if it is a bug but,
I had .htaccess into my admin directory for make it a litle more secure.
And when a user post a comment it asked for password.

Well what do you think about?

Connie
03-18-2006, 09:20 AM
at least it is not a bug of PP but maybe a wrong instruction in the .htaccess file?

as long as we do not know what you wrote into that file we cannot tell you what you made wrong...

Cba
03-19-2006, 02:34 PM
I just create .htaccess into admin directory with :

AuthUserFile /........./.htpasswd
AuthGroupFile /dev/null
AuthName "Accès Restreint"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>


So I think there is an access to a file into admin directory when a user post a comment.

Cba
03-19-2006, 02:37 PM
in index.php in the case with save comments the html corresponding at the redirect, we can read :

<link rel="stylesheet" href="admin/admin_index.css" type="text/css" />

That's explain why I ve got this problem.

thanks