Re: htaccess file and computer names

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

 





On 19 February 2013 18:49, Marc Fromm <Marc.Fromm@xxxxxxx> wrote:

I am using some htaccess files to control access to a few web pages.

The htaccess file works if I use the ip address of the computer to grant access, but not its name.

Is there another setting to enable for  “Allow from computername.domain.name” to work like using the ip address “Allow from ###.###.###.###” ?

 

Order deny,allow

Deny from all

Allow from computername.domain.name //this does not grant access

Allow from ###.###.###.### //this grants access

 

The computers and the server are all on the same network

 

Thanks

 

Marc


Hello
http://httpd.apache.org/docs/2.0/mod/core.html#location
<Location /status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from .foo.com
</Location>
Hope this helps. All the best Paul

--
"Perhaps today is a good day to die. Prepare for ramming speed" - Commander Worf
[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