Saturday 26 August 2006 10:09:31 am
Thanks for the help! My search is still not working.. but it is probably something else on my setup. I have included the settings I think are vital (NB: my site is not statically cached yet).
It basically works - the site is running, I can navigate it using urls like
http://localhost/index.php?/blog_site http://localhost/index.php?/blog_site_admin
Only the search does not work. It generates a link like this:
http://localhost/index.php?SearchText=searchterm&x=8&y=13 which fails with a "Module not found" in eZ publish. Apparently, the problem is the question mark in the URL - I see from your rewrite rule that you are handling it somehow, but it fails on my setup - any hints? Gunnstein
server.modules = (
"mod_rewrite",
"mod_access",
"mod_fastcgi",
"mod_simple_vhost",
"mod_accesslog" )
server.document-root = "/srv/www/htdocs/lighttpd/"
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
# Virtual hosts - I don't really know how this works
simple-vhost.server-root = "/srv/www/htdocs/lighttpd/"
simple-vhost.default-host = "localhost"
simple-vhost.document-root = "/"
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/local/bin/php",
"max-procs" => 2,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "10000"
),
"bin-copy-environment" => (
"PATH", "SHELL", "USER"
),
"broken-scriptfilename" => "enable"
)
)
)
url.rewrite-once = (
"^/.*\.(css|html|htm|pdf|js|ico|png|gif|jpe?g)$" => "$0",
"^/.*?(\?.*)?$" => "/index.php$1"
)
|