XPressME Integration Kit

Trac

source: branches/XPressMU/extras/for_wordpress_mu/src/.htaccess

Last change on this file was 243, checked in by toemon, 15 years ago

external/for_wordpress_mu/src/.htaccess追加

File size: 679 bytes
Line 
1RewriteEngine On
2RewriteBase BASE/
3
4#uploaded files
5RewriteRule ^(.*/)?files/$ index.php [L]
6RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
7RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
8
9# add a trailing slash to /wp-admin
10RewriteCond %{REQUEST_URI} ^.*/wp-admin$
11RewriteRule ^(.+)$ $1/ [R=301,L]
12
13RewriteCond %{REQUEST_FILENAME} -f [OR]
14RewriteCond %{REQUEST_FILENAME} -d
15RewriteRule . - [L]
16RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
17RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
18RewriteRule . index.php [L]
19
20<IfModule mod_security.c>
21<Files async-upload.php>
22SecFilterEngine Off
23SecFilterScanPOST Off
24</Files>
25</IfModule>
Note: See TracBrowser for help on using the repository browser.