![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jun 2002
Posts: 587
|
Hiding htaccess?
When I browse to my .htaccess file:
http://members.mysite.com/.htaccess Explorer asks me if I would like to open or download it, and then lets me?! Obvioulsy thus exposing the location of the password file. Its CHMOD to 644 and I got the following code in it: <Files .*> order allow,deny deny from all </Files> How do I stop this from happening???? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Oct 2002
Location: lalaland
Posts: 2,120
|
Let's see how badly mangled this will be:
<Files ~ "^\.ht"> Order allow,deny Deny from all </Files> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jun 2002
Posts: 587
|
Yeah, that's what I've already got in - I tried to write that in the post above but it got parsed I think.
Anything else I'm missing? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Nov 2002
Location: Awgtrade
Posts: 485
|
Quote:
The server does have AccessFileName set to .htaccess right? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |