Hello, I'm using the zend community server on windows vista. I'm following the tutorial in the book Zend Framework 1.8 by Keith Pope.
$this->_view->headLink()->appendStylesheet('/css/main.css');
is not finding the main.css file (404). The actual file path is htdocs/myapp/public/css/main.css . When i take out the slash and change it to
$this->_view->headLink()->appendStylesheet('css/main.css');
it works fine. However when look up an example of the appendStylesheet function in the zend docs, it uses the example
$this->headLink()->appendStylesheet('/styles/basic.css')
So it seems to me what right now "works" for me is incorrect. Any ideas on why this is so?