[pmwiki-users] It's really an Apache question but ....

Marc Cooper gmane at auxbuss.com
Mon Aug 7 15:34:33 CDT 2006


 said...
> I have, as advised in the documentation, created an index.php file in
> my pmwiki 'home' directory which contains just the following:-
> 
>     <?php include('pmwiki.php');
> 
> However when I go to http://mysite/pmwiki I still get to see a
> dirctory of the files there, apache doesn't auto-load the index.php
> file.  How do I make index.php auto-load?
> 
> (index.php works fine if I load it explicitly)

Somewhere in http.conf (adjust to taste):

<IfModule dir_module>
    DirectoryIndex index.php index.htm index.html
</IfModule>

(You might also want to switch off indexes by removing Indexes from the 
Options line for that vhost (or userdir).)

-- 
Best,
Marc





More information about the pmwiki-users mailing list