So this is a right frustrating little problem I've been dealing with
for around a month now. So I have this webserver, and I have three
domains:
www.fsdev.net
cmiller.fsdev.net
git.fsdev.net
www.0x5f3759df.org - yes, I am aware that having a hexadecimal domain
name qualifies me as a geek.
This webserver runs Apache 2.2 from Debian "Lenny" stable repository.
I have one IP address, so I use name-based virtual hosting. Their
configuration files look something like this:
/etc/apache2/sites-available/000-redmine
<VirtualHost *:80>
ServerName www.fsdev.net
DocumentRoot /opt/redmine/public
ErrorLog /var/log/apache2/redmine-error.log
CustomLog /var/log/apache2/redmine-access.log common
</VirtualHost>
/etc/apache2/sites-available/000-org
<VirtualHost *:80>
ServerName www.0x5f3759df.org
DocumentRoot /opt/org/public
ErrorLog /var/log/apache2/org-error.log
CustomLog /var/log/apache2/org-access.log common
</VirtualHost>
The other two domains function just fine. The NameVirtualHost *:80
directive appears in my apache2.conf file.
Here's the tricky part which is broken:
http://www.fsdev.net serves the FSDEV site. OK
http://www.0x5f3759df.org serves the 0x5f3759df site. OK
http://0x5f3759df.org serves the 0x5f3759df site. OK
http://fsdev.net serves the 0x5f3759df site. WTF?
I've been poking around for a solution to this for quite some time,
but just me and Google cannot seem to figure this out. Has anyone
ever seen this before? Perhaps someone with more understanding of
Apache knows the solution?
--
Registered Linux Addict #431495
For Faith and Family! | John 3:16!
http://www.fsdev.net/
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at
http://groups.google.com/group/linuxusersgroup