Re: .php3 extension?
| From: | Nicole Lallande | Date: | Thu, 30 May 2002 14:53:47 +0000 |
| Subject: | Re: .php3 extension? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99933@lists.php.net to get a copy of this message | ||
If you want your home page to be a .php3 file then you must add index.php3 to your DirectoryIndex directive:
DirectoryIndex index.html index.htm index.cgi index.php3 index.php --- and so on.
In addition, .php3 should be added to your AddType directive
AddType application/x-httpd-php .php .php3 .php4 .phtml
If you cannot access your httpd.conf file on your server, the same directives can be modified using a .htaccess file in the appropriate directive.
HTH,
Nicole
The Gabster wrote:
Hello all... I have Apache 2.0.35 and PHP 4.2.0 on a win2k machine... Everything works fine, etc. The question I have, how can I configure PHP (or Apache?) to support (and run) .php3 extension files? Thanks a lot, Gabi.-- ######################## Nicole Lallande nicole@nmlconsulting.com 760.753.6766 ########################