Re: Using index.php instead of index.html
| From: | Chris Garaffa | Date: | Tue, 16 Jul 2002 16:37:29 +0000 |
| Subject: | Re: Using index.php instead of index.html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107924@lists.php.net to get a copy of this message | ||
He who calles himself "Sailom" (from <amorndet@colorado.edu>) wrote on
7/16/02 12:13 PM:
> Hello,
> I am a novice on PHP and web programming. Can any one suggest me if I can
> use index.php in place of index.html? I really need to concern about
> security issue too.
Are you using Apache? If so, just edit your httpd.conf file. The line that
reads DirectoryIndex index.html and change it. Mine reads:
DirectoryIndex index.html index.shtml index.html.var index.php index.phtml
If you're using IIS, I'm sure it's available somewhere in the configs...
--
Chris Garaffa
#!/usr/local/lib/php
$contact_info["Name"] = "Chris Garaffa";
$contact_info["Email"] = "aquax@optonline.net";
$contact_info["Work"] = "cgaraffa@creativeaim.com";
$contact_info["cell"] = "203.803.9066";