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 开发者_StackOverflow社区= ( "^/code/(.*)$" => "/pub/index.php?code=$1" )
I solved this by changing it to
url.rewrite = ( "^/pub/code/(.*)$" => "/pub/index.php?code=$1" )
精彩评论