I just checked in apache2.conf....ServerRoot "/etc/apache2" That is where all the apache config information is located. Doesn't DocumentRoot dictate where the files to be served are located? Thanks J
On Tue, Jul 13, 2010 at 10:34 AM, John Hudak <[email protected]> wrote: > Hmmm, I don't know how to set ServerRoot-where is it? > > by vhost config do you mean what sites are in sites-available? if so, here > it is: > > # Example.com (/etc/apache2/sites-available/www.example.com) > > # > <VirtualHost *> > ServerAdmin [email protected] > ServerName www.example.com > ServerAlias example.com > > # Indexes + Directory Root. > DirectoryIndex index.html > DocumentRoot /var/www/www.example.com/htdocs/ > > # CGI Directory > ScriptAlias /cgi-bin/ /var/www/www.example.com/cgi-bin/ > > <Location /cgi-bin> > Options +ExecCGI > </Location> > > > # Logfiles > ErrorLog /var/www/www.example.com/logs/error.log > > CustomLog /var/www/www.example.com/logs/access.log combined > </VirtualHost> > > -John > > > >> It's looking for '/htdocs', or more likely, it is looking for >> '/htdocs/foo/bar/quuz.html', but '/htdocs' isn't there, so why look >> any further. Have you set your ServerRoot incorrectly? >> >> Can you show your vhost config? >> >> Cheers >> >> Tom >> >> --------------------------------------------------------------------- >> 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: [email protected] >> " from the digest: [email protected] >> For additional commands, e-mail: [email protected] >> >> > >
