Liip想象捆绑不工作 - Symfony -lighttpd

loading...


0

当我上传文件时,如果我使用commande,嘴唇就不起作用了

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”)

你有什么想法吗?谢谢

loading...

1回答

  • 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"
    )
    
评论

暂时没有评论!