httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Singh <>
Subject [users@httpd] mod_user dynamic dns
Date Tue, 28 Feb 2006 03:53:51 GMT

I'm trying to restrict a directory based on a hostname.  we use a dns 
service with dynamic dns.  So the hostname always 
resolves to my ip.

So I have something like
<directory /var/www/html>
Allow from

This doesn't let me in, even though if I run host 
resolves to my ip.
If I use
Allow from [myip]

it works fine.  And if I put my hostname and ip in /etc/hosts it also 
works.  But for some reason apache is resolving my name differently than 
the host command from the server or anyone else's servers for that 
matter.  Any ideas?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message