Mar 062012
 

Ajoutez dans vcl_recv :

if(req.http.cookie !~ "wordpress_logged_in" ) {
        set req.http.Cookie = regsuball(req.http.Cookie, "wp-settings-(1|2)=[^;]+(; )?", "");
        set req.http.Cookie = regsuball(req.http.Cookie, "wp-settings-time-(1|2)=[^;]+(; )?", "");
        set req.http.Cookie = regsuball(req.http.Cookie, "wordpress_test_cookie=[^;]+(; )?", "");
        set req.http.Cookie = regsuball(req.http.Cookie, "comment_author_[a-z0-9]+=[^;]+(; )?", "");
        set req.http.Cookie = regsuball(req.http.Cookie, "comment_author_email_[a-z0-9]+=[^;]+(; )?", "");
        set req.http.Cookie = regsuball(req.http.Cookie, "comment_author_url_[a-z0-9]+=[^;]+(; )?", "");
        if (req.http.cookie ~ "^$") {
                unset req.http.cookie;
        }
}

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">

(required)

(required)

Spam protection by WP Captcha-Free