Re: [us...@httpd] DocumentRoot isn't the root for an absolute reference.

2010-12-16 Thread Bill Gradwohl
-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

Re: [us...@httpd] DocumentRoot isn't the root for an absolute reference.

2010-12-16 Thread Joost de Heer
# 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

RE: [us...@httpd] DocumentRoot isn't the root for an absolute reference.

2010-12-16 Thread Afsar Mohiuddin
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

Re: [us...@httpd] DocumentRoot isn't the root for an absolute reference.

2010-12-16 Thread Eric Covener
> 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

Re: [us...@httpd] DocumentRoot isn't the root for an absolute reference.

2010-12-16 Thread Bill Gradwohl
-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

Re: [us...@httpd] DocumentRoot isn't the root for an absolute reference.

2010-12-16 Thread Frank Gingras
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