Could you please some one help me write a regular expression for the following requirement.
PATTERN written in apache httpd.conf
RedirectMatch ^/$ https://demo.test.com/xyz/test/DemoWelcomePage
I have rewritten a pattern to match but it failing in perl.
$FS_URL="demo.test.com"; searching the Pattern using grep - "RedirectMatch\s\^/\$\s(https\|http)\://($FS_URL).*"
Could you correct me regular expression condition.
Thanks.