Friday 07 November 2008 12:47:36 am
Hi! This setting will get rid of index.php:
[SiteAccessSettings] ForceVirtualHost=true If you run the setup wizard, it will complain that you are not in virtual host mode. Ignore it - it just fails to detect this correctly for ligttpd (it's not an officially supported webserver, after all). Here is one example of a port based virtual host configuration:
$SERVER["socket"] == "localhost:81" {
server.document-root = vhosts_dir + "/ezpublish-4.0.0" dir-listing.activate = "disable"
url.rewrite-once = (
"^/var/.*" => "$0",
"^/.*\.(css|html|htm|pdf|js|ico|png|gif|jpe?g|swf)$" => "$0",
"^/.*?(\?.*)?$" => "/index.php$1"
) }
|