[users@httpd] mod_user dynamic dns

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

 



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



[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