root/tags/1_0-rc1/htaccess.dist

Revision 591, 449 bytes (checked in by donncha, 2 years ago)

Moved everything in wp-inst down a directory.
Uses's Ryan Boren's htaccess rules and mods
If you're upgrading, try this on a test server first!

  • Property svn:eol-style set to native
Line 
1 RewriteEngine On
2 RewriteBase BASE/
3
4 # Rewrite www.domain.com to domain.com
5 RewriteCond %{HTTP_HOST} ^www\.(.*)
6 RewriteRule ^(.*)       http://%1/$1 [R,L]
7
8 #uploaded files
9 RewriteRule ^files/(.*) wp-content/blogs.php?file=$1 [L]
10
11 RewriteCond %{REQUEST_FILENAME} -f [OR]
12 RewriteCond %{REQUEST_FILENAME} -d
13 RewriteRule . - [L]
14 RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
15 RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
16 RewriteRule . index.php [L]
Note: See TracBrowser for help on using the browser.