Note that there are some explanatory texts on larger screens.

plurals
  1. POzend application returning not found for images/css/js
    primarykey
    data
    text
    <p>My zend app running onlocal zend server 6 is returning not found for all images,css and javascript files.</p> <p>My .htaccess in public contains:</p> <pre><code> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] </code></pre> <p>routes.ini contains</p> <pre><code> [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" </code></pre> <p>And I call as</p> <pre><code> &lt;img src="&lt;?= $this-&gt;baseUrl('images/logo.png'); ?&gt;"/&gt; &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo$this-&gt;baseUrl('css/grid.css')?&gt;"/&gt; &lt;link rel="stylesheet" type="text/css" href="&lt;?php echo $this-&gt;baseUrl('css/styles.css')?&gt;" /&gt; &lt;?php $this-&gt;headScript()-&gt;prependFile($this-&gt;baseUrl('js/jquery-ui-1.8.17.custom.js')); </code></pre> <p>?></p> <p>All of which return a not found error, wiht base url set to either '/'<br> or '<a href="http://dev.localhost.com" rel="nofollow">http://dev.localhost.com</a>'</p> <p>Any help much appreciated</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload