Page 1 of 1

Problem logging in to /xampp

PostPosted: 14. January 2008 18:28
by RandomZero
I'm pretty sure I haven't changed anything, but when I go to /xampp on my webserver it asks for a username/password. Any username/pass I try just leads to
Code: Select all
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

Error 500
192.168.0.110
01/14/08 12:24:26
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5


Did I delete something I wasn't supposed to?

PostPosted: 15. January 2008 00:49
by Izzy
When receiving a server error always check the Apache error.log file for more informative clues:
.\xampp\apache\logs\error.log

PostPosted: 15. January 2008 13:20
by RandomZero
Code: Select all
(OS 2)The system cannot find the file specified.  : Could not open password file: C:/Program Files/XAMPP/security/xampp.users

But that file doesn't exist, and it isn't in the .zip.. So why would it be looking for a file that has never existed?

What would I be putting in this file to make it work?

PostPosted: 15. January 2008 13:27
by Wiedmann
But that file doesn't exist, and it isn't in the .zip.. So why would it be looking for a file that has never existed?

Delete the ".htaccess" files in:
"C:\Program Files\XAMPP\htdocs\xampp"
"C:\Program Files\XAMPP\security\htdocs"

PostPosted: 15. January 2008 13:37
by RandomZero
Eh, I got it working.

Just changed it to my .htpasswd file instead... Which leads to another question..


When I try and encrypt the password (Using one of the many websites that will do it..) it never works.. How would I fix that?

PostPosted: 15. January 2008 13:48
by Wiedmann
When I try and encrypt the password (Using one of the many websites that will do it..) it never works.. How would I fix that?

Use the tool "htpasswd.exe":
http://httpd.apache.org/docs/2.2/howto/ ... gitworking

PostPosted: 16. January 2008 20:39
by RandomZero
Awesome! Thanks :)