Re: Using index.php instead of index.html
| From: | Jason Wong | Date: | Wed, 17 Jul 2002 02:48:11 +0000 |
| Subject: | Re: Using index.php instead of index.html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108017@lists.php.net to get a copy of this message | ||
On Wednesday 17 July 2002 10:57, Michael Hall wrote:
> The only security consideration here is whether you want to advertise the
> fact that you're using PHP or not. If not:
>
> DirectoryIndex index.html
>
> AddType application/x-httpd-php .html
If you don't want people to know you're using PHP then you need to at least
disable "expose_php" in php.ini. Also depending on your error reporting
settings, any error _may_ potentially advertise the fact that you're using
PHP.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Software production is assumed to be a line function, but it is run
like a staff function.
-- Paul Licker
*/