Hi List,
If anybody could tell here,
the logic behind an _expression_ matching .
I needed to tweak an apache _expression_ matching to suit my
subdomain's url rewriting .
<VirtualHost *>
ServerName aaa.domain.com
RedirectMatch (.*)\ .*$ https://www.domain.com/aaa$1
------x-------
This match is confirming any url like below,
=> bbb.domain.com
=> https://www.bbb.domain.com/index.jsp
=> www.bbb.domain.com
=>domain.com/bbb
rediected to as following ,
=>https://www.domain.com/bbb/index.jsp
=>https://www.domain.com/bbb/
Now i cann't figure out whats the function of $1 in the Redirectmatch here
Regards...