-- Matthew Ishii <[EMAIL PROTECTED]> wrote
(on Friday, 21 November 2008, 08:47 PM -0800):
> (Sorry about the long winded explination. I understand if you pass on this
> one)
>
> I am having very bizzare behavior regarding the 'error_log' files that show up
> when zend framework is having issues. I have two Zend-Framework sites, one is
> the primary, which is set up under the webroot and the other is an added-on
> domain and has its public web-space in a folder in the top level doc root.
> The
> domains are then redirected through DNS. For example the primary site name is
> www.ioforge.com and the secondary is www.ioforge.com/evolveveganism but DNS
> will route that request to www.evolveveganism.com. Thought it *might* be
> important to give that background .. probably not.
>
> Anyway, the problem is when I access any pages on evolveveganism.com an error
> log entry is created stating that a request was made for an invalid controller
> named 'includes'. In the master layout file I am generating all of the view's
> headers and in them is a link to the CSS file located in the includes
> directory. Here is the code and its the same for both the domains in
> question:
>
> <?php $this->headLink()->setStylesheet('http://www.evolveveganism.com/
> includes/style.css', 'screen', false); ?>
> <?php echo $this->headLink() ?>
My guess is that the rewrite rule on the www.evolveveganism.com site is
incorrect, and routing requests to /includes/style.css on that host to
the front controller.
> Looks good to me. The sites are the same in all other respects, except of
> course the actual paths. So the question is then, why is an error report
> created complaining about a request for an invalid controller called includes
> ... when viewing evolveveganism.com pages .. but not when viewing ioforge.com
> pages?
>
> I cant think of what would possibly be different that could cause one to have
> issues and the other not to have issues. The ioforge.com site does not have
> an
> 'includes' controller, so that is out of the question.
>
> Anyone have any possible explanations? Am I missing something here?
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/