You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jacob Singh <ja...@calabashmusic.com> on 2006/02/28 04:53:51 UTC

[users@httpd] mod_user dynamic dns

Hi,

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

So I have something like
<directory /var/www/html>
Allow from jacob.mnycompany.org
</directory

This doesn't let me in, even though if I run host jacob.mycompany.org 
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?

Jacob

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org