Click to See Complete Forum and Search --> : Why I can't ban myself from a directory ? (access.conf)


Donovan
12-13-2000, 10:10 PM
Hi, my apache webserver sets the web access to /var/www.

Here is what i've set in access.conf:

<Directory /var/www>

Options Indexes FollowSymLinks

AllowOverride All
order deny,allow

deny from my.ip.address
allow from all
</Directory>

Why I can still access /var/www from the web ? When I set to deny all it deny all, but why when I set my IP it doesn't ? (I restarted apache but no luck) ?
(of course, I don't want to ban MY ip but want to do it just for a test).

Thanks,
Donov

klamath
12-13-2000, 10:40 PM
What IP are you entering? Try 127.0.0.1

Do you access the web through a proxy server or NAT gateway of some kind?

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Better Bulletin Board (http://bbb.sourceforge.net)

Donovan
12-13-2000, 10:51 PM
Hi,
no I just access the web from a standard ISP with no proxy. I tried from another computer and another IP, and still can access /var/www... it seems it really doesn't work :/

Thanks,
Donov