w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Lighttpd rewrite - multiple variables

Try:

url.rewrite-once = (
   "^/([A-Za-z0-9-]+)/?$" => "/index.php?x=$1",
   "^/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$" => "/index.php?x=$1&y=$2",
   "^/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/?$" =>
"/index.php?x=$1&y=$2&z=$3"
)




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.