Hello,
I recently stumbled over a rewrite for wordpress' plugin called "SuperCache" which stores cached files in the docroot.
So far so good... But how can I differentiate between a Formpost and/or Cookie contents like this:
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
</IfModule>
OK, line 2, 4 and 5 are simple, but what should I do with the REQUEST_METHOD?
asking,
Michael
Hiawatha version: 6.16
Operating System: Debian Lenny