Re: [EMAIL PROTECTED] [mod_rewrite] Content-type doesn't change, logs say otherwise

2006-05-01 Thread Michał Pałka
On Sun, 2006-04-30 at 14:50 -0400, Joshua Slive wrote: > On 4/29/06, Michał Pałka <[EMAIL PROTECTED]> wrote: > > > RewriteEngine on > > RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml > > RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0 > > Rewr

[EMAIL PROTECTED] [mod_rewrite] Content-type doesn't change, logs say otherwise

2006-04-29 Thread Michał Pałka
List, I've run across a strange problem. I want to serve .html files with application/xhtml+xml for selected browsers and as text/html for others. Therefore, I've included these rules in my .htaccess file: RewriteEngine on RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml RewriteCond %{HTTP_ACCEP