httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Montague <>
Subject Re: [users@httpd] Simple problem of index.php
Date Mon, 28 May 2012 16:51:08 GMT
On May 27, 2012 7:13 , Florent Blanchon <> wrote:
> I'd like to know how to set index page to index.php because after 
> installing xoops, but even if my index.php is in root directory, the 
> server keep showing me the test page.

You may want to ask the xoops people what the standard way to do this is 
on a web server running xoops.  But, in general, if your go to and see the contents of the file index.html that is 
in your DocumentRoot directory, but you instead want to see the content 
generated by index.php in the same directory, then use the 
DirectoryIndex directive to specify this:

For example, put the following inside the VirtualHost stanza for your 
web virtual host in Apache HTTP Server's configuration file (or inside 
the relevant Directory stanza or .htaccess file if you want it to apply 
to only a single directory):

DirectoryIndex index.php

I hope this helps.

   Mark Montague

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message