Wednesday 26 September 2007 8:02:01 am
Last week my ISP upgraded mod_php from version 4.3.8 to version 5.2.3. Now, PHP 4 it is available only as a CGI program. I cannot change of ISP, so I had to adapt eZ to the change.
I have mounted eZ Publish 3.9.0 in a directory like http://mysite.org/ezpublish/
eZ generated links like http://mysite.org/ezpublish/index.php/site/sales
and with a .htaccess file i get links like http://mysite.org/ezpublish/site/sales this works for me. Now, with the change, eZ generate links like http://mysite.org/ezpublish/index.php?/site/sales (question mark included) and with the same .htaccess file i get http://mysite.org/site/sales I lose ezpublish/index.php? not only index.php? So, eZ returns Module Not Found kernel(20) My .htaccess is:
DirectoryIndex index.php
RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|jar|html)|var(.+)storage.pdf(.+)\.pdf?$ - [C]
RewriteCond %{HTTP_HOST} ^webdav\..*
RewriteRule ^(.*) webdav.php [L]
RewriteCond %{HTTP_HOST} ^soap\..*
RewriteRule ^(.*) soap.php [L]
RewriteRule ^var/cache/debug.html.* - [L]
RewriteRule ^var/[^/]+/cache/debug.html.* - [L]
RewriteRule ^var/storage/.* - [L]
RewriteRule ^var/[^/]+/storage/.* - [L]
RewriteRule ^var/cache/texttoimage/.* - [L]
RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L]
RewriteRule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L]
RewriteRule ^share/icons/.* - [L]
RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule .* index.php [L]
Server:
FreeBSD 6.2-RELEASE-p1
Apache 2.2.4 PHP 4.4.7 CGI Please, somebody help!
Quoi de neuf?
|