Nginx wordpress wp super cache rewrite issue
jabberuser at gmail.com
Wed Sep 22 22:14:54 MSD 2010
On 22.09.2010 09:37, 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:
> I add include wp-supercache.conf; in nginx.cof:
> You can find location.conf here:
> But when I test it, it says:
> 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.
I am not a wordpress guy but I have working (I think) wp-super-cache
with nginx, propably in legacy mode but it's working as I can see in the
end of html code:
<!-- Dynamic page generated in 0.097 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-22 20:12:50 -->
All what I did is just...
try_files $uri $uri/ /index.php?q=$uri&$args;
Thats all. WP-super-cache warning me about missing mod_rewrite but I
don't really care, its not apache.
More information about the nginx