馅饼不在服务器上工作。 在当地工作? 使用Zend框架

I've added pie to the stylesheet, tried a variety of paths and extensions, and have added the correct MIME type (text/x-component).

Works on local but not on server...

Cheers

I'm using the standard code behavior: url('/js/pie/PIE.htc'); also used different variations. Also added MIME type to .htaccess

Assuming a directory structure as follows (in your Zend public folder):

\public
    \css
        style.css
    \pie
        PIE.htc
        PIE.php
        PIE.js

The path in style.css to link PIE.htc or PIE.php should be like this :

.selector {
    ...
    behavior('../pie/PIE.php');
}

Hope this can help you.