RE: [PHP] to set file tye at apache module using htaccess
| From: | Jason Murray | Date: | Thu, 16 Aug 2001 06:19:57 +0000 |
| Subject: | RE: [PHP] to set file tye at apache module using htaccess | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62968@lists.php.net to get a copy of this message | ||
> I used the syntax below to set Apache module in file
> .htaccess and did not work still, as I wrote some php script
> to print text in an html file and did not do anything yet.
>
> **********************
> AddType application/x-httpd-php4 .html
> **********************
>
> What is the correct way to do this?
In order to have a .htaccess file work, you need to have AllowOverride
set appropriately in the configuration file - it may be off.
Jason