Block Web Access to .htaccess

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Block Web Access to .htaccess

Post by tecktalkcm0391 »

Can't someone in theory request .htaccess in the public_html folder so that is on the internet and someone can see whats in it?

How can I block it from happening??????
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I don't believe that .htaccess files are accessible.
(#10850)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Try it?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I did and got a "Forbidden - You don't have permission to access /zingspot/.htaccess on this server." But I don't think you were talking to me. :yar:
(#10850)
Post Reply