I wanted to serve .xhtml files as
application/xhtml+xml
if the browser says that it accepts it.text/html
otherwise
Then, I had this code:
<Files "*.xhtml">
RewriteEngine on
RewriteCond %{HTTP:Accept} !application/xhtml\+xml
RewriteRule .* - [T=text/html]
</Files>
And it worked well.
The problem is that, after disabling FollowSymLinks
(I don't use symbolic links), instead of the .xhtml file I get 403 Forbidden error.
Why? Is RewriteRule .* - [T=text/html]
a symbolic link?