Reputation: 11452
I have the following URL
http://www.website.com/pub/?code=USERINPUT
I would like it to appear as
http://www.website.com/pub/code/USERINPUT
I set up the following in my lighttpd.conf and I just get 404'ed every time!
url.rewrite = ( "^/code/(.*)$" => "/pub/index.php?code=$1" )
Upvotes: 1
Views: 746
Reputation: 11452
I solved this by changing it to
url.rewrite = ( "^/pub/code/(.*)$" => "/pub/index.php?code=$1" )
Upvotes: 1