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
jclarkkent2003
Forum Contributor
Posts: 123 Joined: Sat Dec 04, 2004 9:14 pm
Post
by jclarkkent2003 » Mon Feb 13, 2006 7:01 pm
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?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Feb 13, 2006 7:03 pm
you forgot the periods...
jclarkkent2003
Forum Contributor
Posts: 123 Joined: Sat Dec 04, 2004 9:14 pm
Post
by jclarkkent2003 » Mon Feb 13, 2006 10:28 pm
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?
Buddha443556
Forum Regular
Posts: 873 Joined: Fri Mar 19, 2004 1:51 pm
Post
by Buddha443556 » Tue Feb 14, 2006 10:42 am
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.