Tue 26 Dec 2006
Sometime ago I talked about making eZ publish 3.x happy with fastcgi. The original approach is to patch eZ Publish so that it works with fastcgi correctly. However, Xavier Dutoit pointed out that, given some special treatment in lighttpd config files, no modification is required to eZ publish.
The trick is the following block:
url.rewrite-once = ( "^/.*\.(css|html|htm|pdf|js|png|gif|jpe?g)$" => "$0", "^/.*?(\?.*)?$" => "/index.php$1" )
For more about lighttpd and php4/php5 config instructions, please consult this thread.
RSS feed for comments on this post. TrackBack this post
August 27th, 2010 at 5:14 am
Hey, thanks for the tip on eZ Publish rewrite rules in lighttpd, but I still have the “index.php?/” part in the generated urls, and the nice URLs don’t work.
You can test them here: http://www.aeriesguard.com:8080 (see my Website for Apache version with nice URLs)
How did you manage to get the same URLs behavior with lighttpd ?
August 27th, 2010 at 5:30 am
It’s me again, I found the answer here : http://share.ez.no/forums/suggestions/memcache/comment53232
You have to set ForceVirtualHost to true in the SiteAccessSettings group of site.ini file.
It does now work perfectly, thanks again !