Thank you Scott,<br><br>I tried your setting but it only works for last part of the rules i t hink (equivalent to apache rules that i wrote earlier) and the posts show but the design is scrambled (missing images/colors/etc) so i suppose i need more then just what you suggested.
<br>So...anybody else that is using WordpressMu or knows how to translate those rules for nginx?<br><br><br><div><span class="gmail_quote">On 2/13/07, <b class="gmail_sendername">Scott Yang</b> <<a href="mailto:scott.yang@gmail.com">
scott.yang@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is what I have (works for WordPress 2.0/2.1)<br>
<br> if (!-e $request_filename) {<br> rewrite ^/.*$ /index.php last;<br> }<br><br>Put that inside server { ... }<br><br>--Scott<br><br>On 2/13/07, Anonymous Coward <<a href="mailto:magasesti@gmail.com">magasesti@gmail.com
</a>> wrote:<br>> i installed Wordpress today on nginx and everything seems ok except one<br>> "small" issue, i don't know how to convert the rewrite rules.<br>> So if anybody has any experience or knows how to do it i'd be gratefull
<br>> cause they have only Apache examples :(<br>><br>><br>> RewriteEngine On<br>> RewriteBase /<br>><br>> # Rewrite <a href="http://www.domain.com">www.domain.com</a> to <a href="http://domain.com">domain.com
</a><br>> RewriteCond %{HTTP_HOST} ^www\.(.*)<br>> RewriteRule ^(.*) http://%1/$1 [R,L]<br>><br>> #uploaded files<br>> RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]<br>><br>> RewriteCond %{REQUEST_FILENAME} -f [OR]
<br>> RewriteCond %{REQUEST_FILENAME} -d<br>> RewriteRule . - [L]<br>> RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]<br>> RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]<br>> RewriteRule . index.php [L]<br>
><br>><br>><br>> Thank you.<br><br><br>--<br>Scott Yang <<a href="mailto:scott.yang@gmail.com">scott.yang@gmail.com</a>><br><br></blockquote></div><br>