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