Debian GNU/Linux ス ..
788:login:Penguin
09/02/19 18:01:08 U5NQwgT6
lenny のapache2 を入れ
mod_rewrite を enabled にして
/etc/conf.d/ に、
AddType "application/xhtml+xml; charset=utf-8" .html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml
RewriteCond %{LA-F:REQUEST_FILENAME} \.html
RewriteRule .* - "[L,T=text/html; charset=utf-8]"
</IfModule>
の application/xhtml+xml を解釈出来ない
IE向けに Content-Type を text/html に書き換える
設定ファイルを置いてみたんだけども
/ で終わる URI だと mod_dir は機能しても mod_rewrite が機能せず、
Content-Type が書き換わりません。
書き換えを機能させたまま、index.html等のファイルの場合に
ファイル名までリクエストしないで済ませるには何か良い方法が無いでしょうか?
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
5166日前に更新/274 KB
担当:undef