当我上传文件时,嘴唇不起作用 如果我使用Commande
php-cgi bin/console liip:imagine:cache:resolve uploads/image/5c0e41b61ca0c252450232.png
这是工作
这是lighttpd的配置文件
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” )
你有个主意吗? 谢谢
答案 0 :(得分:0)
解决方案
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"
)