<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<small>Hai Teams,<br>
<br>
I've installed NginX to host my Wordpress MU.<br>
Everything running well, but one thing didn't works properly.<br>
<br>
When I use this : <a class="moz-txt-link-freetext" href="http://202.158.66.216/wp-admin/">http://202.158.66.216/wp-admin/</a><br>
I got <b>Error 404 - Not Found.<br>
<br>
</b>But if I use : <a class="moz-txt-link-freetext" href="http://202.158.66.216/wp-admin/index.php">http://202.158.66.216/wp-admin/index.php</a><br>
everything's running well.<br>
<br>
What should I do to make this run without adding /index.php ?<br>
<br>
here are my nginx.conf :<br>
<br>
-------<br>
server {<br>
listen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 80;<br>
server_name&nbsp; 202.158.66.216 ;<br>
error_log /var/log/nginx/error.lo;<br>
location ~*
^.+\.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$<br>
{<br>
root /data/blog/wp;<br>
expires 30d;<br>
break;<br>
}<br>
<br>
location / {<br>
root&nbsp;&nbsp; /data/blog/wp;<br>
index&nbsp; index.html index.htm index.php;<br>
rewrite ^.*/files/(.*) /wp-content/blogs.php?file=$1;<br>
<br>
if (!-e $request_filename) {<br>
rewrite ^.+?(/wp-.*) $1 last;<br>
rewrite ^.+?(/.*\.php)$ $1 last;<br>
}<br>
<br>
if ($query_string !~ ".*s=.*") {<br>
rewrite ^(.*) /wp-content/cache/supercache/$http_host/$1index.html;<br>
}<br>
<br>
if ($http_cookie !~ "^.*comment_author_.*$" ) {<br>
rewrite ^(.*) /wp-content/cache/supercache/$http_host/$1index.html;<br>
}<br>
<br>
if ($http_cookie !~ "^.*wordpressuser.*$" ) {<br>
rewrite ^(.*) /wp-content/cache/supercache/$http_host/$1index.html;<br>
}<br>
<br>
if ($http_cookie !~ "^.*wp-postpass_.*$" ) {<br>
rewrite ^(.*) /wp-content/cache/supercache/$http_host/$1index.html<br>
break;<br>
}<br>
<br>
error_page&nbsp;&nbsp;&nbsp; 404&nbsp; =&nbsp; @tricky;<br>
}<br>
error_page&nbsp;&nbsp; 500 502 503 504&nbsp; /50x.html;<br>
location = /50x.html {<br>
root&nbsp;&nbsp; html;<br>
}<br>
<br>
location @tricky {<br>
rewrite ^ /index.php last;<br>
fastcgi_pass&nbsp;&nbsp; 127.0.0.1:9000;<br>
fastcgi_index&nbsp; index.php;<br>
fastcgi_param&nbsp; SCRIPT_FILENAME /data/blog/wp$fastcgi_script_name;<br>
include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/nginx/conf/fastcgi_params;<br>
}<br>
<br>
location ~ \.php$ {<br>
fastcgi_pass&nbsp;&nbsp; 127.0.0.1:9000;<br>
fastcgi_index&nbsp; index.php;<br>
fastcgi_param&nbsp; SCRIPT_FILENAME /data/blog/wp$fastcgi_script_name;<br>
include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/nginx/conf/fastcgi_params;<br>
}<br>
}<br>
<br>
--<br>
<br>
Thanks for advice.<br>
<br>
<b>Andika</b><br>
Indonesian<br>
</small>
</body>
</html>