Thank you Eric! With your help I figured it out:
SetEnvIfExpr
"'%{DOCUMENT_ROOT}/cache/%{md5:REQUEST_URI}.html' =~ /(.+)/"
CACHE_PATH=$0
then use it in <If> and RewriteRule, or:
RewriteCond expr "%{md5:REQUEST_URI} =~ /(.+)/"
RewriteRule .* "%{DOCUMENT_ROOT}/cache/%0.html"
Awesome :)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
SetEnvIfExpr
"'%{DOCUMENT_ROOT}/cache/%{md5:REQUEST_URI}.html' =~ /(.+)/"
CACHE_PATH=$0
then use it in <If> and RewriteRule, or:
RewriteCond expr "%{md5:REQUEST_URI} =~ /(.+)/"
RewriteRule .* "%{DOCUMENT_ROOT}/cache/%0.html"
Awesome :)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org