Project

General

Profile

rewrite module

Added by cybernet about 15 years ago

i have this in lighttpd.conf

url.rewrite-once = (
"^/(.+)\?(.*)$" => "/sugus.php?xurl=$1&$2",
"^/(.+)$" => "/sugus.php?xurl=$1"
)

if i access
"http://domain/sugus.php?xurl=working/4-perfectly-post.html" it's working perfectly
if i access
"http://domain/working/4-perfectly-post.html" i get 404

any help ???