Link to home
Start Free TrialLog in
Avatar of luckylukevn
luckylukevn

asked on

Can't use .htaccess

I installed XAMPP software in my server. You can found it here:http://www.apachefriends.org/en/xampp-windows.html . But yesterday I found that maybe the .htaccess haven't any effect. I put a file .htaccess with this content in 1 folder:
------------------------
<Files "test.php">
Order Deny,Allow
Deny from all
</Files>
------------------------
But the visitor can still access into the file "test.php".
And a lot of another test, I think that .htaccess didn't affect any little to the server.
What have I to do now?
Thanks.
ASKER CERTIFIED SOLUTION
Avatar of rowdy_h
rowdy_h

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
AllowOverride needs to be set in the httpd.conf file for htaccess files to work.
Avatar of periwinkle
Ugh.  Ignore me - this is a live question.