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 webmas...@example.com
        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: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to