Edward Kerr wrote:
> http://frodo/site1/  The requested URL /site1 was not found on this
> server.
> http://frodo/site2/  The requested URL /site1 was not found on this
> server.

I think there may some confusion about virtual hosts, and this might be
the problem.

The purpose of virtual hosting to is host more than one site on one
server. This allows me to host all of the following on the same Apache
install:
    www.more-solutions.co.uk
    www.more-shop.co.uk
    www.more-control.com
    (etc)

This is different from having separate subdirectories on the same server.

Therefore, what you should be testing is:
    http://site1/
    http://site2/
(ie lose the reference to frodo). Setting up the hosts file is what
tells your browser that the site "site1" is located on frodo, and
frodo's httpd.conf is what tells its webserver what to serve when it
gets that request. If you want a more graphic example, add a new virtual
host:
     <VirtualHost *>
        ServerName www.google.com
       DocumentRoot /home/edward
    </VirtualHost>
.. and add www.google.com to your hosts file (pointing to frodo's IP),
then put www.google.com into your browser...

-- 
Mark Rogers
More Solutions Ltd :: 0845 45 89 555



_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to