2011年1月20日星期四

[fw-mvc] Re: CSS Issue

harish wrote:
>
> CSS Issue -
>
> I'm processing a request on Index page and after the request is successful
> i'm redirecting it back to Index page.
>
> First time when I open Index page everything works fine but after
> redirecting it back to Index page the CSS and the images do not appear.
>
> I just wanted to let you know I'm not using any layouts, I've just put all
> of my pages separately in the "views" section with respective actions.
>

It sounds like you're saying, you're going to:
http://yoursite/index.php (things work)
and then redirecting sends you to:
http://yoursite/index/ (things don't work)

Looks like you don't have url rewriting set up:
For Apache, IIS, Lighttpd:
http://framework.zend.com/manual/en/zend.controller.router.html

I also recommend reading:
http://framework.zend.com/manual/en/zend.controller.quickstart.html

Cheers,
David
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/CSS-Issue-tp3225491p3228859.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: