Page 1 of 1

.htaccess

PostPosted: 07. March 2004 13:08
by tonym
Hi.
I could do with some help on .htaccess
I am new to xampp. I am trying to set up a test .htaccess for the htdocs/xampp directory.
xampp is installed at C:/xampp and I have placed a test .htaccess page in C:/xampp/htdocs/xampp with for the time being only the .htpasswd file in the same directory.
when i view my webpage at bla bla bla/xampp/index.php I get up the .htaccess login window. when I enter the username and password that was generated using .htaccess password generator it will not let me in.
If I delete the password and leave the username from .htpasswd it will let me in using just a username.
Am I missing something!!
Should I be changing something in the apache config file, if so what.
Any help appreciated

PostPosted: 07. March 2004 19:33
by karl

PostPosted: 07. March 2004 20:01
by tonym
Thanks Karl, but I cannot see anything there that will help me.
I have a .htaccess file in the Directory.
For the time being I have a .htpasswd file in the same directory and in this .htpasswd file is the user name and the encrypted password.
It half works.
When I access http://www.bla bla bla/xampp up pops the authentification window asking for a username/password.
When I enter the username and the password I get access denied to the page.
If I take out the encrypted password from .htpasswd and just leave the username in and No password I can enter the page :(
Also if I place a plain unencrypted password into .htpasswd I can enter, so it appears to be not readind the encrypted password

PostPosted: 07. March 2004 21:11
by tonym
Found it at last, think its to do with windows and md5 encryption, but the answer is in this thread. :lol:
http://forums.devshed.com/archive/t-25787