Re: [users@httpd] proxy subdirectory not being kept after redirection

2022-10-04 Thread Duke Nguyen
ex(.*)" “/host1/index$1" [R=301,L,E=nocache:1] The issue of not being logged in was cache on Firefox. Deleting cache and set environment nocache in the rewriterule help. Thanks everyone again, D. On 4 Oct 2022, at 23:50, Duke Nguyen wrote: On 4 Oct 2022, at 22:03, Frank Gingras wrote:

Re: [users@httpd] proxy subdirectory not being kept after redirection

2022-10-04 Thread Duke Nguyen
With this setup, I also got the **/host1/** stayed in URI, however all the information after index.php are missing, only *index.php* got redirected to the *host A* server. Any advice? Thanks, D. On Tue, 4 Oct 2022 at 06:02, Duke Nguyen wrote: Hello everyone, I have an issue with the pro

[users@httpd] proxy subdirectory not being kept after redirection

2022-10-04 Thread Duke Nguyen
Hello everyone, I have an issue with the proxy and subdirectory on httpd. What I wanted is whenever clients access http://mydomain.com/host1/, the server **host A** will proxy it to **host B** internally, with the URI http://mydomain.com/host1/ base unchanged. The httpd.conf on **host A** has the