httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Singh <ja...@calabashmusic.com>
Subject [users@httpd] mod_user dynamic dns
Date Tue, 28 Feb 2006 03:53:51 GMT
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


Mime
View raw message