Run Zend Framework (1.11) on lighttpd

Make sure this two mods are enabled on yer lighttpd.conf:

mod_rewrite

mod_setenv

And add this to your host config:

$HTTP["host"] == "localhost" {

  url.rewrite-if-not-file = (

    ".*\?(.*)$" => "/index.php?$1",

    "" => "/index.php"

  )

  # Not necessary, but most of Zend applications use it

  setenv.add-environment = (

    "APPLICATION_ENV" => "development"

  )

}

About
Related Posts
Comments
The comments are closed on this section.
Hire me!

I'm currently open for new projects or join pretty much any project i may fit in, let me know!

Read about what I do, or contact me for details.