HTTPD.conf question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
    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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux