Thanks for the response, that Directive is already in there. I am using Virtual Named Hosts, is it that this needs to be specified in each virtual host as well? Not too sure if that's the case.... But even with it in place it still does not work... Ahbaid. Vishal Khanna wrote:
use the following directive in the httpd.conf file should work...
# # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # <IfModule mod_dir.c> DirectoryIndex index.html index.php3 test.html </IfModule> #####
Ahbaid Gaffoor wrote:
I have been using the SuSE packaged Apache and PHP RPMs. Now I am trying to setup an apache install with php support uisng the tarballs from apache.org and php.net. I have downloaded Apache 1.3.27 and PHP 4.3.1
Everything works except, I have to put the extension on the file name I want in the URL...
for example instead of saying "http://site/test" I have to say "http://site/test.html" same goes for my PHP scripts, If I add the ".php" extension to the URL I am ok, without it the page does not come up.
What configuration directives should I be using to not have to use the extensions?
I have the "handmade" install in /opt/apache_1.3.27 and SuSE's is started via. /etc/init.d/apache so I swap between the two as I try to narrow this down.
Many thanks,
Ahbaid.