mike25

Well-Known Member
Aug 29, 2003
83
0
156
Raleigh NC, USA
Forcetype does not appear to run correctly with Apache 2.2 and SuPHP. Most information suggests changing

ForceType application/x-httpd-php

To Just

ForceType x-httpd-php

This does not work for me and php code is being displayed as text instead of being parsed by apache.

Has anyone else run into this problem?
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
I run into similar problem too.

ForceType x-httpd-php
doesn't work.

Any solution for this?
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
Forcetype does not appear to run correctly with Apache 2.2 and SuPHP
Other than the notes you posted being wrong for how you would go about
using "forcetype" with SuPHP, a much larger question is WHY?

Why would you want to "forcetype" files to php? ;)

That's not only increases server loads and opens potential security issues
but also can hurt your search engine rankings too!