Good afternoon afternoon masters,
I have rules initially look like this
*******************************
RewriteRule ^/$ https://frontend.domain.com/foo/bar/ [R, L]
RewriteRule ^/(.*)$ https://backend.domain.com/$1 [P,L]
ProxyPassReverse / https://backend.domain.com/
*********************************
I would like to integrate some requirements,
i.e. if root or path not equal /foo/bar/* or /foo/bar1/* redirect to
https://backend.domain.com/foo/bar
Can you please help what's the best syntax to approach this?
Many thanks,
Eric
I have rules initially look like this
*******************************
RewriteRule ^/$ https://frontend.domain.com/foo/bar/ [R, L]
RewriteRule ^/(.*)$ https://backend.domain.com/$1 [P,L]
ProxyPassReverse / https://backend.domain.com/
*********************************
I would like to integrate some requirements,
i.e. if root or path not equal /foo/bar/* or /foo/bar1/* redirect to
https://backend.domain.com/foo/bar
Can you please help what's the best syntax to approach this?
Many thanks,
Eric