| Lachlan Hunt 2004-06-20, 9:46 pm |
| Hi,
Firstly, I have multiviews enabled through a .htaccess file with the
following contents, but when that file is there, trying to view the
contents of a directory gives a 403 Forbidden error. However, when the
file is not there, the directory index displays as expected. Is there
something I'm missing, or have done wrongly that could be causing this?
Secondly, when files are served as application/xhtml+xml, the charset
is missing from the HTTP headers, but when served as HTML, the headers
correctly specify the charset as UTF-8. Why would the charset be
omitted for XHTML?
..htaccess contains:
AddDefaultCharset UTF-8
AddType application/xhtml+xml .xhtml
DefaultLanguage en-au
DirectoryIndex index
Options Multiviews
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
--
Lachlan Hunt
http://www.lachy.id.au/
lachlan.hunt@lachy.id.au.update.virus.scanners
Remove .update.virus.scanners to email me,
NO SPAM and NO VIRUSES!!!
|