Nginx wordpress wp super cache rewrite issue

brianmercer nginx-forum at nginx.us
Wed Sep 22 23:22:39 MSD 2010


neomax Wrote:
-------------------------------------------------------
> Hello guys, this is MAX.
> 
> I recently set up my Nginx 0.765 in CentOS 5.5 and
> all are working well, then I moved my blog there
> and enabled permlink and rewrite, I used to run WP
> super cache, but when I configure it, it says:
> mode rewrite not enabled. So I google it and
> create a file called wp-supercache.conf you can
> find it here:
> http://www.flickr.com/photos/eastmobiles/501422198
> 0/http://www.flickr.com/photos/eastmobiles/5014221
> 980/
> 
> I add include wp-supercache.conf; in nginx.cof:
> http://www.flickr.com/photos/eastmobiles/501365715
> 1/http://www.flickr.com/photos/eastmobiles/5013657
> 151/
> 
> You can find location.conf here:
> http://www.flickr.com/photos/eastmobiles/501426662
> 0/http://www.flickr.com/photos/eastmobiles/5014266
> 620/
> 
> But when I test it, it says:
> http://www.flickr.com/photos/eastmobiles/501366459
> 5/http://www.flickr.com/photos/eastmobiles/5013664
> 595/
> 
> Well line 10 is: if ($http_cookie ~*
> "comment_author_|wordpress|wp-postpass_" )
> 
> Can anyone help? Thanks very much!!
> 
> P.S. why can't I post image here? Please copy and
> past the link to view the images.

Just to add my take on the wp-supercache config:

http://test.brianmercer.com/content/nginx-configuration-wordpress-wp-super-cache

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,132868,133075#msg-133075




More information about the nginx mailing list