2009年10月8日星期四

RE: [fw-mvc] Problem accessing controller actions...

Do you use $this->baseUrl() view helper on you view scripts.
Can you send us a phtml file source.

-----Original Message-----
From: umpirsky [mailto:umpirsky@gmail.com]
Sent: Thursday, October 08, 2009 10:57 AM
To: fw-mvc@lists.zend.com
Subject: [fw-mvc] Problem accessing controller actions...


Hi.

I have default zf mvc app, created some controllers, views..etc.

App works fine when I'm on http://host/ or http://host/controller, but when
I try to access http://host/controller/ ot http://host/controller/action,
CSS, js, img... static files are not loaded!

My htaccess file looks like:

SetEnv APPLICATION_ENV testing

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

Any idea?
--
View this message in context: http://www.nabble.com/Problem-accessing-controller-actions...-tp25799838p25799838.html
Sent from the Zend MVC mailing list archive at Nabble.com.


Bu mesaj ve ekleri, mesajda g?nderildi?i belirtilen ki?i/ki?ilere ?zeldir ve gizlidir. Size yanl??l?kla ula?m??sa l?tfen g?nderen kisiyi bilgilendiriniz ve mesaj? sisteminizden siliniz. Mesaj ve eklerinin i?eri?i ile ilgili olarak ?irketimizin herhangi bir hukuki sorumlulu?u bulunmamaktad?r. ?irketimiz mesaj?n ve bilgilerinin size de?i?ikli?e u?rayarak veya ge? ula?mas?ndan, b?t?nl???n?n ve gizlili?inin korunamamas?ndan, vir?s i?ermesinden ve bilgisayar sisteminize verebilece?i herhangi bir zarardan sorumlu tutulamaz.

This message and attachments are confidential and intended for the individual(s) stated in this message. If you received this message in error, please immediately notify the sender and delete it from your system. Our company has no legal responsibility for the contents of the message and its attachments. Our company shall have no liability for any changes or late receiving, loss of integrity and confidentiality, viruses and any damages caused in anyway to your computer system.

没有评论: