我有以下.htaccess:
# AIS: Adaptive Image Style
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.+)/files/styles/adaptive/(.+)$
RewriteCond %{REQUEST_URI} !/modules/image/sample.png
RewriteCond %{HTTP_COOKIE} ais=([a-z0-9-_]+)
RewriteRule ^(.+)/files/styles/adaptive/(.+)$ $1/files/styles/%1/$2[R=302,L]怎么才能把它转换成lighttpd呢?
发布于 2022-06-24 22:12:10
$HTTP["cookie"] =~ "ais=([a-z0-9-_]+)" {
url.rewrite = ( "^(.+)/files/styles/adaptive/(.+)$" => "$1/files/styles/%1/$2" )
}https://stackoverflow.com/questions/13627301
复制相似问题