[users@httpd] RE: virtualhost environment setting for proxy
> I have currently this in my virtual host config > > SetEnvIf Host test\.example\.com CODE=123 > > > How should I change this line for when this website is being access via > ProxyPass and ProxyPassReverse? > SetEnvIf X-Forwarded-Server
[users@httpd] virtualhost environment setting for proxy
I have currently this in my virtual host config SetEnvIf Host test\.example\.com CODE=123 How should I change this line for when this website is being access via ProxyPass and ProxyPassReverse?
[users@httpd] rewrite redirect exclude path
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