|
|||
|
Hi, I am really surprised there is nothing written about ZF and CGI anywhere....nothing in doc, google, #zftalk or anywhere and, I think unfortunately there are quite many cases where php5 runs as CGI.
So questions is , is it problem using ZF with CGI running php5? My .htaccess RewriteEngine on RewriteRule .* index.php This is my simple rewrite engine... and I get index.php not found...when it is there. I know rewrite is enabled because if I point to Example Web Page I get redirected there. Please help..I am getting desparate on not able to use ZF in CGI ![]() |
|
||||
|
perhaps incorrect server settings? Does other scripts work?
__________________
SpotSec Network Gateway Project on SourceForge SpotSec Network Gateway Project Home SpotSec Blog: http://spotsec.com/blog |
|
|||
|
That is not necessarily mod_rewrite. That could just be domain forwarding. If your bootstrapping isn't even working that has nothing to do with Zend framework, as you aren't even getting to that step yet.
Quote:
|
|
|||
|
I have posted on this in another forum, but since this seems relevant I thought I would post here too. Sorry about that. I am also having problems using Zend Framework on servers running php as cgi-fcgi, and I can definitely say that I am getting to the bootstrap, because the error I am getting is a Zend_Exception message. My application finds the necessary controllers perfectly well when I run it on my local machine (php as apache module) but it can't even find the error controller when I run it in a php cgi-fcgi context. I have triple-checked that the controller is there, but for some reason it is not being found. Needless to say none of my other controllers are being found either. Is there some setting I am unaware of? I've tried about every php.ini option but nothing seems to change.
Please help. J. |
|
|||
|
Does ZF really work in CGI i did not know about this.
__________________
Affordable Web Hosting Coupons Free Domains Hosting Coupons Promo Web Hosting Choices |
|
|||
|
You can try accessing the framework like that: yourdomain.com
If you can load your default action of your default controller that means mod_rewrite is not either enabled or not available to your hosting plan. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|