RE: [users@httpd] working with a reverse proxy

2024-02-27 Thread Marc
> > > What would a best practice of 'informing' the proxyhost about that it is > being proxied and it should send the defaulthost hostname? > > can try > https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypreservehost Proxy only works when I am having ProxyPreserveHost Off, I can't

[users@httpd] working with a reverse proxy

2024-02-27 Thread Marc
I am having a more or less default setup where I proxy a website with something like this ProxyPass"https://${proxyhost}/en_gb; ProxyPassReverse "https://${proxyhost}/en_gb; ProxyPassReverseCookieDomain "${proxyhost}" "${defaulthost}" ProxyHTMLURLMap ... ProxyHTMLURLMap .. Everything

Re: [users@httpd] working with a reverse proxy

2024-02-27 Thread Eric Covener
> What would a best practice of 'informing' the proxyhost about that it is > being proxied and it should send the defaulthost hostname? can try https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypreservehost - To

Re: [users@httpd] Limiting redirects with rewriterule/rewritecond

2024-02-27 Thread Frank Gingras
On Sun, Feb 25, 2024 at 5:29 PM Dave Wreski wrote: > Hi, > > In my ongoing effort to reduce the number of redirects for > linuxsecurity.com, I could use a bit more help. Currently we have one > redirect to strip off any potential trailing slash as well as another that > strips out any preceding

Re: [users@httpd] working with a reverse proxy

2024-02-27 Thread Frank Gingras
On Tue, Feb 27, 2024 at 5:10 PM Marc wrote: > > > > > > What would a best practice of 'informing' the proxyhost about that it > is > > being proxied and it should send the defaulthost hostname? > > > > can try > > https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypreservehost > > Proxy