MSUNAG Archives

MSUNAG Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave MSUNAG
Reply | Post New Message
Search Archives


Subject: Re: Looking for some PHP help
From: Matt Kolb <[log in to unmask]>
Reply-To:Matt Kolb <[log in to unmask]>
Date:Thu, 3 Jan 2008 11:34:47 -0500
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (27 lines)


On Jan 3, 2008, at 11:28 AM, STeve Andre' wrote:

>  I have PHP installed on my web server, and things are fine except
> for on thing.  A project with a index.php file isn't automatically run
> as an index.html would be.  I know there is a way to convince Apache
> to do this, but I haven't figured it out.  Any clues?  This is PHP  
> 5.2.5
> running with Apache 1.3.
>
> Thanks for the clue x4's...


It's a DirectoryIndex directive, so something like this:

<IfModule mod_dir.c>
     DirectoryIndex index.html index.php
</IfModule>

(You should already have a DirectoryIndex entry somewhere in your conf  
file(s)).

./mk

-- 
Matt Kolb  <[log in to unmask]>
Academic Computing & Network Services
Michigan State University

Back to: Top of Message | Previous Page | Main MSUNAG Page

Permalink



LIST.MSU.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager