[users@httpd] RE: virtualhost environment setting for proxy

2024-03-26 Thread Marc
> 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

2024-03-26 Thread Marc
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

2024-03-26 Thread eric tse
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/