-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 fil
# Below are all the real virtual host definitions.
ServerAdmin x...@ycc.com
DocumentRoot /var/www/html/roatanbakery.com
ServerName roatanbakery.com
ServerAlias www.roatanbakery.com
When I use Firefox via http://localhost/roatanbakery.com/ , the page
comes up broken with no
Frank is right. Don't put under the same folder. Create separate path for each
and correct all DocumentRoot reference to your base.
> Date: Thu, 16 Dec 2010 14:34:20 -0600
> From: b...@ycc.com
> To: users@httpd.apache.org
> Subject: Re: [us...@httpd] DocumentRoot isn't th
> When I use Firefox via http://localhost/roatanbakery.com/ , the page
> comes up broken with no css and no ssi's working.
This is working as designed, you're hitting the default virtualhost
because your client is NOT asking for the hostname "rotanbakery.com".
Mock this up in your hosts file and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/16/2010 02:08 PM, Frank Gingras wrote:
>
> Best not to use overlapping DocumentRoot paths in different vhosts.
>
> Frank.
Please elaborate. I don't understand why this should be so.
If the base for vhosts is /var/www/html then having them all
On 12/16/2010 03:06 PM, Bill Gradwohl wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Given the following in the httpd.conf file on a development machine that
is NOT the real web server for the domains:
NameVirtualHost *:80
ServerAdmin x...@ycc.com
DocumentRoot /var/www/html