Re: PHP & SSI in armony?
| From: | Rasmus Lerdorf | Date: | Sat, 21 Jul 2001 18:45:25 +0000 |
| Subject: | Re: PHP & SSI in armony? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59030@lists.php.net to get a copy of this message | ||
> I want to use both PHP and SSI on the same page. My server requires that
> SSI files are .shtml. If I set it to also treat .shtml files as php files
> (like I have done with .htm) then what will happen? Will it get parsed
> first for php and then for ssi, or the other way round? Or puke completely?
>
> Or is there a way of doing this that I've overlooked.
Apache 1.3.x does not support multiple content handlers. You cannot parse
a file both for PHP tags and SSI tags. The best solution is to convert
your SSI tags to PHP tags.
-Rasmus