当我上传文件时,lip不工作如果我使用命令
php-cgi bin/console liip:imagine:cache:resolve uploads/image/5c0e41b61ca0c252450232.png
这是工作
这是lighttpd 的conf
url.rewrite-once = (
"^/(.*).(.*)" => "/public/$0",
"^/media/cache/.*.(eot|woff|ttf|js|ico|gif|jpg|png|css|)$" => "/public/index.php/$1" ,
"^/assets/fonts/.*.(eot|woff|ttf|woff2|js|ico|gif|jpg|png|css|)$" => "$0",
"^/([^.]+)$" => "/public/index.php/$1",
"^/$"=>"/public/index.php")
你有主意吗?感谢
解决方案
url.rewrite-once = (
"^/[^?]+(?.*)?/media/cache/resolve/.*. (eot|woff|ttf|js|ico|gif|jpg|png|css|)$" => "/public/index.php/$1" ,
"^/(.*).(.*)" => "/public/$0",
"^/([^.]+)$" => "/public/index.php/$1",
"^/$" => "/public/index.php"
)