Configue Pretty URL's with lighttpd on Concrete 5.5

Permalink
Hi guys,

I'm trying to set up Pretty URLs on a server running with lighttpd and Concrete 5.5.1

I've searched the forum for a while and came up with the following example to put into the domain config file:

url.rewrite = (
"^/([^.?]*)$" => "/index.php/$1"
)


but whenever I put that into the file, it redirects to a 404 page not found. the forum post is quite old, so it's probably for an older Concrete5 installation.

Would anyone happen to know of an updated text to put into the config file?

Thank you! :)

Jesper

 
gour replied on at Permalink Reply
gour
> Would anyone happen to know of an updated text to put into the config file?

I'm just starting with Lighty after not being fully satisfied with Cherokee...so tried with this one:

url.rewrite-once = (
"^/([^.?]*)$" => "/index.php/$1"
)


and it kind of works, but fails with e.g. blog's archive.

Will investigate more, but if you find something, please, post. ;)

In Cherokee I had to configure certain C5 directories as static, but have to find out how to do it in Lighty.


Sincerely,
Gour
gour replied on at Permalink Reply
gour
Try this one:

url.rewrite-if-not-file = (
  "^/(.*)$" => "/index.php/$1"
)



Sincerely,
Gour