-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/16/2010 02:52 PM, Joost de Heer wrote: > localhost isn't in the ServerName/-Alias, so the first (default) host is > used, and the documentroot for that host is /var/www/html. A reference > to /common/style.css will result in a request for the file > /var/www/html/common/style.css. Thank You Frank, Eric, Afsar, & Joost. I"m beginning to understand why and how this is happening. I can't reasonably create a lie on my development box (i.e. hosts fix) because I need to hit my real domain server in Texas for my email, and I also ssh into it to maintain it. I can't fudge the DNS. I see now that the problem on my dev box is that I'm trying to get the web site to function from a directory/file perspective, and my real box is functioning from a DNS hostname perspective, so to speak. I've had this problem for quite some time causing me to "fix" the html when I move it to the real box, and it finally bothered me enough to try to figure out what's going on. So - How do I set up the dev box to 100% mimic the real box while I'm testing so I don't have to hand massage the code when I move it? I can't be the first guy to run into this, so is there a consensus on how to approach the problem? Having different httpd.conf files (real vs dev) is fine and expected. - -- Bill Gradwohl Roatan, Honduras 504 9 899 2652 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk0Kjn4ACgkQ7Orvev+eC8rQcgCeLZFXJFmTHw8UkHtj6yCD7KZl b4oAn2uv3Wn4ogT3RomNlVYQmXzPBxKx =jQb+ -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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