[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Apache 2.x w/ mod_php
From:       Jay Cornwall <jay () evilrealms ! net>
Date:       2002-09-05 18:53:22
[Download RAW message or body]

On Wednesday 04 September 2002 18:48 pm, Jay Cornwall wrote:

> I've tried adding this to my httpd.conf:
>   AddType application/x-httpd-php .html
>
> But the PHP code remains unparsed, and all the pages are returned with type
> application/x-httpd-php (which makes my browser ask if I wish to save the
> page, rather than viewing it :/).

Replying to myself here, it turns out this was due to a conflict between the 
SSI includes output filter, and the PHP handler. If I disable either one, the 
other will work.

Is it be possible to use SSI (#include in particular) in conjunction with a 
PHP page? And how would I go about configuring Apache to do so?

Cheers,
Jay

-- 
http://www.evilrealms.net/ - Systems Administrator
http://www.ic.ac.uk/ - Imperial College, student and developer

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic