I have this rewrite rule for web service:
RewriteEngine on RewriteBase / RewriteRule ^service/(.*)$ blabla/service.php?request=$1 [L]
It works fine, but now I need to add a query string and find the QSA flag. I added it next to L, but it seems to have broken mod_rewrite, because I get 500 from Apache, and my php script is not reached.
RewriteRule ^service/(.*)$ blabla/service.php?request=$1 [QSA, L]
What am I doing wrong?
source share