httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Troubleshooting namebased virtual websites
Date Tue, 13 Jul 2010 14:21:41 GMT
On Tue, Jul 13, 2010 at 3:16 PM, John Hudak <> wrote:
> I am having an issue where none of the three virtual websites I've created
> are being served when requested. I basically followed the approach
> documented here:
> I am running Ubuntu server 8.04 LTS. My router successfully forwards the
> incomming page request to my server (  I am able to serve a
> single site, that is set up slightly differently than the three virtual
> sites.  The main difference is that the document root is in my home
> directory (/home/me/my_website_docs).
> When a request comes in for one of the virtual sites, i.e.,
> the apache error log records (from-:tail -f /var/log/apache2/error.log):
> [Tue Jul 10 10:00:49 2010] [error] [client] File does not
> exist: /htdocs
> I've set the /var/www file protection to: 766 for all the files to be
> served. The owner is apache.
> I put a 'dummy' index.html file in each of the htdoc directories.
> I have tried a number of things including: eliminating the domain directory
> structure and just serving from /var/www/, making the sites-available file
> for each domain minimal by just specifying: domain name, doc root, alias,.
> I've done a few other things that I can't remember at this point.
> So, any suggestions as to how to troubleshoot this problem?  One of my
> questions is what is this error really telling me?  is it looking for a file
> "/htdocs"?  Where is it looking for this file? If it is looking for
> "/htdocs" why??? and why not the DirectoryIndex of index.html as I specified
> in sites-available??
> Suggestions are really appreciated as I am dead-ended on this one....
> Thank you!
> 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?



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message