.htaccess - URL Rewrite doesn't work as intended apache2 -


works:

 rewriterule  index2.php/xyz/ index2.php/?pt=xyz [qsa,l] 

doesn't work:

 rewriterule  index2.php/(.+)$/ index2.php/?pt=$1 [qsa,l] 

i tried use above rewrite rule somewhy doesn't work... $1 stays null

why $ in there after (.+)? dollar sign means end of line in regex engines. happens if take out?


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -