Page 1 of 1

XAMPP: how can I disable authentication of xampp user ?

PostPosted: 10. November 2008 17:35
by ceinma
When I charge my page the first time after a restart alway ask me an user and password. I do not want the system ask me the same cuestion

thank you

PostPosted: 10. November 2008 23:26
by dgbauer
If you mean where you enter in the "lampp" user name and a password for the Apache Authentication, then I think I can help.

Inside of the xampp directory (/opt/lampp/htdocs/xampp) there is a .htaccess file that contains the instructions for Apache to ask for authorization. You can rename it, or go into the file and comment out the following lines:

Code: Select all
AuthName "xampp user"
AuthType Basic
AuthUserFile /opt/lampp/lib/xampp.users
require valid-user

Then reload apache (/opt/lampp/lampp reloadapache) and you should be good.

Hope this helps

thank you

PostPosted: 11. November 2008 12:17
by ceinma
thank you for your help.