활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi, Rajeev
In your httpd ".conf" file, inside your VirtualHost tag - Write these rules.
RewriteEngine On
RewriteCond %{QUERY_STRING} debug=layout
RewriteRule .* /? [R,L]
What it will do - For Eg.,
If your request url is - http://www.example.com/homepage.html?debug=layout
then it will redirect the url to http://www.example.com
Hope this helps!
Thanks,
Vamsi
Hi, Rajeev
In your httpd ".conf" file, inside your VirtualHost tag - Write these rules.
RewriteEngine On
RewriteCond %{QUERY_STRING} debug=layout
RewriteRule .* /? [R,L]
What it will do - For Eg.,
If your request url is - http://www.example.com/homepage.html?debug=layout
then it will redirect the url to http://www.example.com
Hope this helps!
Thanks,
Vamsi
Hi rajeev,
Restrict based on query string. Sample at https://docs.adobe.com/docs/en/dispatcher/disp-config.html#RESTRICTING QUERY STRINGS
Thanks,
조회 수
답글
좋아요 수
Worked like charm. Thank you for prompt response.