I have a cakephp 1.2 app (1.2.2.8120) and I am trying to change the
mime-type for Japanese cell phones on certain pages with this one line
of code in the app/webroot/.htaccess file:
AddType application/xhtml+xml .xhtml

This works for .xhtml files uploaded directly to the webroot folder,
but regular cakephp pages don't work.

I have tried to add the same .htaccess line of code to the
app/.htaccess and /.htaccess files but it did not work.
I also added the line: header('Content-type: xhtml+xml');  to the
beforeFilter() method of the app_controller, but that also did not
work.

Thanks ahead of time for any help you can provide.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to