「MediaWikiの設定 - 移行」の版間の差分

ナビゲーションに移動 検索に移動
106行目: 106行目:
  php importImages.php --search-recursively --user= ユーザ名 /var/www/html/旧mediawikiのディレクトリ/images/e
  php importImages.php --search-recursively --user= ユーザ名 /var/www/html/旧mediawikiのディレクトリ/images/e
  php importImages.php --search-recursively --user= ユーザ名 /var/www/html/旧mediawikiのディレクトリ/images/f
  php importImages.php --search-recursively --user= ユーザ名 /var/www/html/旧mediawikiのディレクトリ/images/f
<br>
更に、.htaccessファイルを以下のようにに編集する。<br>
【修正前】
# Protect against bug T30235
<IfModule rewrite_module>
        RewriteEngine On
        RewriteOptions inherit
        RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase]
        RewriteRule . - [forbidden]
        # Fix for bug T64289
        Options +FollowSymLinks
</IfModule>
【修正後】
# Protect against bug T30235
<IfModule rewrite_module>
        RewriteEngine On
        RewriteOptions inherit
        RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase]
        RewriteRule . - [forbidden]
        # Fix for bug T64289
        # Options +FollowSymLinks
</IfModule>
<br><br>
<br><br>


__FORCETOC__
__FORCETOC__
[[カテゴリ:MochiuWikiの設定]]
[[カテゴリ:MochiuWikiの設定]]

案内メニュー