미디어위키 짧은 주소 적용하기
https://paik.wiki/w/미디어위키_짧은주소_적용
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
/wiki 부분도 필요없어 생략했다.
LocalSetting.php는 아래 부분 추가
$wgScriptPath = "";
$wgScriptExtension = ".php";
$wgArticlePath = "/$1";
$wgUsePathInfo = true;
## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true:
$wgEnableUploads = true;
$wgGenerateThumbnailOnParse = false;
시놀로지에 설치했는데, 기본인 nginx는 뭔가 바꿔줘야 하는게 많아서,
Apache 2.2 로 변경