Nginx wordpress wp super cache rewrite issue

Ben ben at benweblife.fr
Wed Sep 22 12:48:45 MSD 2010


Hello,

It seems you have a typos mistakes in your supercache config file.

All "set $supercache_uri", you have write a double quotes, it's two 
single quotes.
And line 7, you have write "suercache" instead of "supercache".

Le 22/09/2010 09:37, neomax a écrit :
> 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:
> [img]http://www.flickr.com/photos/eastmobiles/5014221980/[/img]http://www.flickr.com/photos/eastmobiles/5014221980/
>
> I add include wp-supercache.conf; in nginx.cof:
> [img]http://www.flickr.com/photos/eastmobiles/5013657151/[/img]http://www.flickr.com/photos/eastmobiles/5013657151/
>
> You can find location.conf here:
> [img]http://www.flickr.com/photos/eastmobiles/5014266620/[/img]http://www.flickr.com/photos/eastmobiles/5014266620/
>
> But when I test it, it says:
> [img]http://www.flickr.com/photos/eastmobiles/5013664595/[/img]http://www.flickr.com/photos/eastmobiles/5013664595/
>
> 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.
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,132868,132868#msg-132868
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list