Re: httpd.conf

From: Date: Wed, 02 Oct 2002 17:41:35 +0000
Subject: Re: httpd.conf
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-8643@lists.php.net to get a copy of this message
Antoine wrote:
Yes, I did restart the server, The server work but still send a file with php code in it The file has a .php extension, so I don't think this the problem the filename is "phpinfo.php" the line with Directory index is this one: DirectoryIndex index.html index.shtml index.htm index.php index.php3 index.phtml DirectoryIndex specifies files that should be served when no file is given in the url, e.g www.mybox.com instead of e.g. www.mybox.com/phpinfo.php.
Your AddType and LoadModule lines for php look right to me. Have you got more than one httpd.conf file? On RH 7.2 it would normally be in /etc/httpd/conf but according t the httpd.conf you attached, this should be located in /usr/local/apache/conf. One test I do to see if apache is looking at the httpd.conf file I think it should be is to put a line of rubbish in the file. Restart apache and check that it complains about the rubbish line. HTH Chris

« previous php.install (#8643) next »