I think I need to start by asking smaller questions. Nobody seems to want to try to answer ones.
I have installed fedora core 2 and would like to set up apache. I have it running. I would like to use virtual hosts. I have edited my httpd.conf to add the virtual hosts. I restart apache after any modification of the httpd.conf file.
Can anyone tell me why the only page I get in a browser is the default page no matter what?
Here is an example:
NameVirtualHost 24.173.163.190:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin
webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
<VirtualHost 24.173.163.190:80>
ServerAdmin
linux@medscribe.biz
DocumentRoot /var/www/html/naghag.com/
ServerName naghag.com
<Directory "var/www/html/naghag.com">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 24.173.163.190:80>
ServerAdmin
linux@medscribe.biz
DocumentRoot /var/www/html/diener.us/
ServerName diener.us
<Directory "var/www/html/diener.us">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanx for any help!