Re: Parsing SHTML files
| From: | Jason Brooke | Date: | Wed, 16 Aug 2000 13:39:46 +0000 |
| Subject: | Re: Parsing SHTML files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11997@lists.php.net to get a copy of this message | ||
It sounds like the server already has a directive for .shtml in the 'main' server config
which
causes .shtml to be handled by the ssi parser.
jason
> Hello fellow PHPers,
>
> Does anyone know why I can't have PHP parse SHTML files?
>
> I've configured my web server to parse HTM and HTML files, even
> JavaScript files using the .htaccess directive like so:
>
> AddType application/x-httpd-php3 html
> AddType application/x-httpd-php3 htm
> AddType application/x-httpd-php3 js
>
> But adding a similar line for SHTML files doesn't work, the browser
> prompts the user to download the file of type
> "application/x-httpd-php3".
>
> Any ideas?
>
> thanks,
>
> bill