Configuration problems with Apache 2

Discussion in 'Apache' started by miedeth, Apr 19, 2007.

  1. #1
    I recently installed apache 2, mysql, and php on a new linux box (redhat linux 9) or rather it is an old windows machine I'm using as a linux box now, following the instructions found here http://www.hostlibrary.com/installing_apache_mysql_php_on_linux.

    For some reason it is not looking where I set the document root for the web pages. I figured no big deal, I have multiple domains I wanted to host off of it anyway, so I went to configure the virtual hosts. I uncommented out the line Include conf/extra/httpd-vhosts.conf and in that file created a vhost with the following info.

    NameVirtualHost *:80

    <VirtualHost *:80>
    DocumentRoot /usr/local/apache2/htdocs/florapp
    ServerName florapp.com
    ServerAlias www.florapp.com florapp.com
    </VirtualHost>

    All I get when I go to florapp.com or www.florapp.com is the default apache page. In the florapp directory I do have an index.html page in the directory, and when I try florapp.com/index.html I get an object not found message. What am I missing?
     
    miedeth, Apr 19, 2007 IP