skip to Main Content

Apache Allow Mentioned Query String ReturnURL

I've a requirement wherein I wanted to allow only configured return url. Remaining ones should be routed to error message 403. Currently the apache code i've tried is as shown below. RewriteCond %{QUERY_STRING} (returnURL|[&]returnURL)=(http|https)://(my[.]return[.]site[.]com)[&]{0,1} RewriteRule ^(.*) / [R=403,L] With this…

VIEW QUESTION
Back To Top
Search