Zend framework 未找到图像/css/js的zend应用程序返回

Zend framework 未找到图像/css/js的zend应用程序返回,zend-framework,Zend Framework,运行onlocal zend server 6的我的zend应用程序返回“未找到所有图像、css和javascript文件” My.htaccess在公共场合包含: RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L]

运行onlocal zend server 6的我的zend应用程序返回“未找到所有图像、css和javascript文件”

My.htaccess在公共场合包含:

   RewriteEngine On
   RewriteCond %{REQUEST_FILENAME} -s [OR]
   RewriteCond %{REQUEST_FILENAME} -l 
   RewriteRule ^.*$ - [NC,L]
   RewriteRule ^.*$ index.php [NC,L]
routes.ini包含

    [production]
    routes.default.type = "Zend_Controller_Router_Route_Hostname"
    routes.default.route = "dev.localhost.com"
    routes.default.defaults.module = "default"
    routes.default.defaults.media = "media"

    ;-------------------------------------------------------------------------------
    ; Default Route - Default Behaviour 
    ;-------------------------------------------------------------------------------
    routes.default.chains.index.route = ":controller/:action/*"
    routes.default.chains.index.type = "Zend_Controller_Router_Route"
    routes.default.chains.index.defaults.controller = "index"
    routes.default.chains.index.defaults.action = "index"
我称之为

    <img src="<?= $this->baseUrl('images/logo.png'); ?>"/>
    <link rel="stylesheet" type="text/css" href="<?php echo$this->baseUrl('css/grid.css')?>"/>
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl('css/styles.css')?>" />
    <?php $this->headScript()->prependFile($this->baseUrl('js/jquery-ui-1.8.17.custom.js'));
?>

所有这些都返回一个找不到的错误,其基本url设置为“/” 或


非常感谢的任何帮助

1首先检查源代码,确保为这些资产生成的URL是正确的。令人高兴的是,原来是zend server,我认为它设置得很好,因为它设置得很好,因为它的默认结构没有用,应该使用xampp。