Menu

#35 phpsniff and forcetype directive

open
nobody
None
5
2003-07-10
2003-07-10
Anonymous
No

hi.
i am using forcetype in an htaccess file to create
friendly urls; however, it seems this directive
conflicts with the check_cookies routine in phpsniff
'2.1.3'. i get the headers already begun warning. i am
new to phpsniff so can't verify what happens with other
versions, but from digging around the code expect similar.

if i take the EXACT SAME file and rename it with a .php
extension, it works fine. anybody have a workaround ?

i.e.

.htaccess
<Files main>
ForceType application/x-httpd-php
</Files>

main => headers warning

main.php (renamed main) => works fine

thanks.
rz
rzand AT bellatlantic DOT net

Discussion


Log in to post a comment.

MongoDB Logo MongoDB