Getting rid of index.php in the URL when using recess framework and lighttpd

Posted by spudnik1979 on Stack Overflow See other posts from Stack Overflow or by spudnik1979
Published on 2010-04-16T06:25:23Z Indexed on 2010/04/16 6:33 UTC
Read the original article Hit count: 210

Filed under:
|
|
|
|

I am using the recess php framework with lighttpd

Does anyone know how I can use the shorter urls of:

http://www.myserver.com/recess

Instead of:

http://www.myserver.com/index.php/recess

The recess readme file says that if I have mod_rewrite I can use the shorter url:

-- "Do you have mod_rewrite?

-- Yes: Open your browser to the location you unzipped

-- No: Open your browser to the location you unzipped followed by index.php"

I do have mod_rewrite enabled on lighttpd and i have removed the index.php but I get a 404.

Do I need any special rules in my lighttpd.conf?

© Stack Overflow or respective owner

Related posts about php

Related posts about recess