TechnicalCan I chain a web server to another?

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  CHYRON (DSMITHHFX)   
 To:  Peter (BOUGHTONP)     
42132.11 In reply to 42132.10 
Quite possibly.
“Irresponsible owners give emotional support animals a bad name ”
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)   
 To:  ALL
42132.12 
double reverse-proxy trouble:

I'm trying to add another proxied site, from a different pc behind our our staging server. I duplicated the relevant lines in default-ssl.conf and changed the details thus:
Code: 
ProxyRequests Off

# reverse proxy to serverA/siteA 022718
<Location "/siteA">
    ProxyPass http://serverA/siteA
    ProxyPassReverse http://serverA/siteA
    Order allow,deny
    Allow from all
    Authtype Basic
    Authname "Restricted Access"
    AuthUserFile /etc/apache2/.htpasswd
    Require user ******
</Location>

# reverse proxy to serverB/siteB 051418
<Location "/siteB">
    ProxyPass http://serverB/siteB
    ProxyPassReverse http://serverB/siteB
    Order allow,deny
    Allow from all
    Authtype Basic
    Authname "Restricted Access"
    AuthUserFile /etc/apache2/.htpasswd
    Require user *******
</Location>

"SiteA" (the original proxied wp site) continues to show the web-facing domain in the address bar

"SiteB" (another cms-y thing) switches from "https://mydomain.com/siteB" to "http://serverB/siteB" upon loading.

Pretty sure I did no special config to the siteA apache instance, or if I did, can't find where it might be.  :-(
“Sweden admits meatballs are Turkish”
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)   
 To:  ALL
42132.13 
Nurmind. Like the wp, I had to modify a base url in the cms-y thing to point to the front-facing server.

All good (but not the >2-hours I wasted before it dawned on me :-/ ).
“Sweden admits meatballs are Turkish”
0/0
 Reply   Quote More 

Reply to All    
 

1–13

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats