<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've installed <STRONG>WP-MU</STRONG> on my NginX
machine, and I got an error log like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2008/01/12 13:03:00 [crit] 6082#0: *61 stat()
"/home/dika/wp/wp-content/themes/home/images/kubrickbgwide.jpg" failed (13:
Permission denied), client: 192.168.21.2, server: 192.168.17.110, URL:
"/wp-content/themes/home/images/kubrickbgwide.jpg", host: "192.168.17.110",
referrer: "<A
href="http://192.168.17.110/wp-admin/">http://192.168.17.110/wp-admin/</A>"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Even though:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@ucarp1 images]# ls -l<BR>total
40<BR>-rwxrwxrwx 1 nginx root 4671 Aug 31 2006 audio.jpg<BR>-rwxrwxrwx 1
nginx root 2154 Aug 31 2006 header-img.php<BR>-rwxrwxrwx 1 nginx
root 556 Sep 1 2005 kubrickbgcolor.jpg<BR>-rwxrwxrwx 1 nginx
root 1043 May 22 2007 kubrickbg-ltr.jpg<BR>-rwxrwxrwx 1 nginx root 1657
May 22 2007 kubrickbg-rtl.jpg<BR>-rwxrwxrwx 1 nginx root 1014 Sep
1 2005 kubrickbgwide.jpg<BR>-rwxrwxrwx 1 nginx root 2443 Sep 1
2005 kubrickfooter.jpg<BR>-rwxrwxrwx 1 nginx root 7868 Sep 1 2005
kubrickheader.jpg<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>
if (!-e $request_filename)
{<BR>
rewrite ^(.*)(/wp-content/themes/.*) $2
last;<BR>
rewrite ^/.*$ /index.php
last;<BR>
}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Please help me, Im so newbie in this
Engine-X.</FONT></DIV>
<DIV><FONT face=Arial size=2>And I also confuse about file .htaccess with a
rewrite engine state like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>RewriteEngine On<BR>RewriteBase /</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><BR>#uploaded files<BR>RewriteRule ^(.*/)?files/$
index.php [L]<BR>RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2
[L]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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]</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>How can I convert it to NginX rewrite engine
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for you're kind attentions.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>Dika_</STRONG></DIV></FONT></BODY></HTML>