xampp .htaccess no pop-up for user and password

Problems with the Windows version of XAMPP, questions, comments, and anything related.

xampp .htaccess no pop-up for user and password

Postby iLiFo » 22. April 2014 10:41

Hi All,

I installed Xampp 1.8.3 I then created a directory under document root called "/htdocs/simple" and added a .htaccess file to this folder, It works great I get a popup for a username
and password, I then copied over the same .htaccess to the "/htdocs/xampp" directory but I get no pop up for the user name and password. I have created various other directory's under /htdocs and added the .htaccess file with 100% success but it just won't work for the '/htdocs/xampp' directory which leads me to believe there is some config on this directory
that I am missing.

my httpd.conf is correctly configured with
AllowOverride All
Require all denied

I even tried changing httpd-xampp.conf to
AllowOverride All

any help with this would really be great, btw I do run lampp on my ubuntu box and never had this problem..
iLiFo
 
Posts: 2
Joined: 22. April 2014 10:20
Operating System: Windows 7

Re: xampp .htaccess no pop-up for user and password

Postby iLiFo » 22. April 2014 11:54

sorted! I just changed the following in the httpd-xamp.conf at the bottom of the file

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
# Require local
Order deny,allow
Allow from all
Allow from 127.0.0.0/8
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

and now it works:)
iLiFo
 
Posts: 2
Joined: 22. April 2014 10:20
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 243 guests