Page 1 of 1
How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 14:48
by external_brain
Hello everyone
I have set a user and pass for XAMPP DIRECTORY PROTECTION (.htaccess)
http://localhost/security/index.phpIt works fine.
Now I want to remove this protection so next time I try localhost, it doesn't prompt me for user and pass. How can I do this please.
I will appreciate any advice.
Thanks in advance.
Re: How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 15:23
by Wiedmann
Delete the ".htaccess" file.
Re: How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 15:27
by external_brain
I searched for .htaccess files in xampp directory. There are five of them in the following locations:
C:\xampp\htdocs\forbidden
C:\xampp\htdocs\xampp
C:\xampp\phpmyadmin\libraries
C:\xampp\security\htdocs
C:\xampp\htdocs\xampp\sqlite
Do u mean delete all of .htaccess files?
Re: How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 15:33
by Wiedmann
Do u mean delete all of .htaccess files?
The ".htaccess" file for:
I have set a user and pass for XAMPP DIRECTORY PROTECTION (.htaccess) http://localhost/security/index.php
this location is in:
C:\xampp\security\htdocs
Re: How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 16:09
by external_brain
I did as u said but it did NOT work, it still prompting me for user and pass.
I deleted the .htaccess file in C:\xampp\security\htdocs
Also I restarted the browser, apache and mysql.
Re: How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 16:25
by Wiedmann
I deleted the .htaccess file in C:\xampp\security\htdocs ... it still prompting me for user and pass.
But not for the URI "http://localhost/security/index.php".
Re: How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 17:37
by external_brain
Sorry man....I am little bit lost.
What I want is to remove XAMPP DIRECTORY PROTECTION simple as that. (Same as the first time I installed it - no password for accessing localhost).
PS Sorry I just started using XAMPP.
Re: How to remove XAMPP DIRECTORY PROTECTION (.htaccess)?
Posted:
22. February 2009 18:32
by Wiedmann
What I want is to remove XAMPP DIRECTORY PROTECTION simple as that. (Same as the first time I installed it - no password for accessing localhost).
Then you have to delete these ".htaccess" files:
- Code: Select all
C:\xampp\htdocs\xampp
C:\xampp\security\htdocs