httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Norton <pnorton3...@gmail.com>
Subject Re: [users@httpd] htaccess file and computer names
Date Tue, 19 Feb 2013 19:09:38 GMT
On 19 February 2013 18:49, Marc Fromm <Marc.Fromm@wwu.edu> 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*

Mime
View raw message