Zend Framework - doesn't run in CGI ?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Zend Framework - doesn't run in CGI ?

Post by jmut »

Hi, using php 5.2.1 running as CGI
I have following .htaccess file

AddType application/x-httpd-php5 .php
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

problem is when I try to run
example.com

I get
The requested URL /example.com/www/root/index.php was not found on this
server.

And I see it is there..Was thinking this is perhaps of CGI or what..as I
have never had this problem before.
If I change index.php to something else... error messages changes so I
guess rewrite engine is actually trying to work..it's not like disabled or something.

Host allows to setup own php.ini
So I tried to disable
cgi.force_redirect = 0 //and I see in phpinfo() that is disabled but this didn't help

Any idea someone?
Post Reply