Re: DocumentRoot cannot be domain protected?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 17, 2008 8:42 PM, Liz Kim <lizkim270@xxxxxxxxx> wrote:
> Is there a special way of domain/IP protecting the DocumentRoot directory?
> All I am trying to do is:
>
> order allow,deny
> allow from all
> deny from MY_IP_ADDRESS_HERE
>
> When this is put under any other directory, it successfully denies me
> access.
> However, when it's is put under the DocumentRoot directory, it fails.

With "put this under a directory" do you mean that you put it in a
".htaccess" file within the directory, or do you put it within a
<directory> block in your httpd.conf? Could you show us your
httpd.conf?

Krist


-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux