Help with bloody PHP SuEXEC!!!!

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
jclarkkent2003
Forum Contributor
Posts: 123
Joined: Sat Dec 04, 2004 9:14 pm

Help with bloody PHP SuEXEC!!!!

Post by jclarkkent2003 »

What can replace the following code to allow it to perform the same function as it would IF the server on which it resides did not have phpsuexec?

Code: Select all

AddType application/x-httpd-php htm html
Anybody? Is this possible?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you forgot the periods... ;)
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

AddHandler?
jclarkkent2003
Forum Contributor
Posts: 123
Joined: Sat Dec 04, 2004 9:14 pm

Post by jclarkkent2003 »

lol, no that was right when it was in the file, wasn't that stupid, heh.... Does phpsuexec prevent parsing php as a .html file?
User avatar
Buddha443556
Forum Regular
Posts: 873
Joined: Fri Mar 19, 2004 1:51 pm

Post by Buddha443556 »

jclarkkent2003 wrote:Does phpsuexec prevent parsing php as a .html file?
No, at least not in my experience. However, a host could disallow AddType through AllowOverride directive.
Post Reply