Welcome! Log In Create A New Profile

Advanced

Re: Nginx wordpress wp super cache rewrite issue

Piotr Karbowski
September 22, 2010 02:24PM
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:
> [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.

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.

-- Piotr.


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx wordpress wp super cache rewrite issue

neomax September 22, 2010 03:37AM

Re: Nginx wordpress wp super cache rewrite issue

Ben September 22, 2010 04:52AM

Re: Nginx wordpress wp super cache rewrite issue

Flavio Torres September 22, 2010 09:56AM

Re: Nginx wordpress wp super cache rewrite issue

neomax September 22, 2010 11:47AM

Re: Nginx wordpress wp super cache rewrite issue

Flavio Torres September 22, 2010 12:24PM

Re: Nginx wordpress wp super cache rewrite issue

Piotr Karbowski September 22, 2010 02:24PM

Re: Nginx wordpress wp super cache rewrite issue

brianmercer September 22, 2010 03:22PM

Re: Nginx wordpress wp super cache rewrite issue

neomax September 23, 2010 02:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready