HTTPD.conf question

Michael Shaw mshaw at dowco.com
Fri Nov 11 18:08:07 UTC 2005


Hi all,

I'm trying to get virtual hosts running in FC4.  I used the 
configuration tool in FC4 and it gave me the following entries at the 
end of my httpd.conf file:

# Virtual host default
<VirtualHost 192.168.1.25>
     ServerName default
    DirectoryIndex index.php index.html index.htm index.shtml
    LogLevel debug
     HostNameLookups off
</VirtualHost>

# Virtual host michael
<VirtualHost 192.168.1.25>
     DocumentRoot /home/michael/public_html/www
     ServerAdmin mshaw at dowco.com
     ServerName michael
    DirectoryIndex index.html index.htm index.shtml
</VirtualHost>

I also put entries for default and michael after 192.168.1.25 in my 
hosts file.  However, when I eneter either default or michael in my Web 
browser I get eh FC4 test page, even though I have a <h1>Hello 
World</h1> index.html file in /home/michael/public_html/www.

What am I missing?

Thanks,
Michael




More information about the fedora-list mailing list