users Digest 18 Mar 2019 11:59:14 -0000 Issue 5808
Topics (messages 118531 through 118532)
Help configure a Reverse proxy with Substitute
118531 by: Flaviu Radulescu
Apache server offline
118532 by: Elizmarié Louw
Administrivia:
---------------------------------------------------------------------
To post to the list, e-mail: users@xxxxxxxxxxxxxxxx
To unsubscribe, e-mail: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-digest-help@xxxxxxxxxxxxxxxx
----------------------------------------------------------------------
---------- Forwarded message ----------
From: Flaviu Radulescu <flaviu.radulescu@xxxxxxxxxxxxx.invalid>
To: "users@xxxxxxxxxxxxxxxx" <users@xxxxxxxxxxxxxxxx>
Cc:
Bcc:
Date: Fri, 15 Mar 2019 09:47:26 +0000
Subject: Help configure a Reverse proxy with Substitute
Dear community,
I need an advice on how to configure a reverse proxy in which I need to replace the <img src="" tag from the response html with an ENV variable defined previously. How do you recommend me to do this?
I tried with substitute, but unfortunately doesn't seem to support variables.
The variable I am setting with the command: SetEnvIf Request_URI "/lp\/([a-zA-Z0-9]*)" st=$1.example.com
and now I would like to use the {st} variable in the substitute
Substitute "s|src="">
I tried with %{st}e , ${st} in any combination it doesn't work.
Is there any way in which I can use e previous defined variable in rewriting the proxy response HTML?
Thank you,
---
FLAVIU RADULESCU | Lumminary | lumminary.com
PLEASE NOTE: This email and any file transmitted are confidential and/or legally privileged and intended only for the person(s) directly addressed. If you are not the intended recipient, any use, copying, transmission, distribution, or other forms of dissemination is strictly prohibited. If you have received this email in error, please notify the sender immediately and permanently delete the email and files, if any.
---------- Forwarded message ----------
From: "Elizmarié Louw" <liz@xxxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Cc:
Bcc:
Date: Mon, 18 Mar 2019 11:50:03 +0000
Subject: Apache server offline
Good day,I hope you are able to advise me on how to get our WAMPSERVER running again. I have included the Apache error log for today, in the hopes of it shedding some light on the matter.We have been using this system for a number of years, and we haven't experienced many issues with it. To our knowledge, all was working perfectly on Friday and then this morning, the server would not start up.(There had been power interruptions in the area over the weekend, and we assume that this might have been the cause of the issue.)We are at our wits' end trying to figure out why the server has gone offline and refuses to start up again. (I have tried restarting the service a few times, with no luck...)Looking forward to your favorable response.Kind regardsElizmarié LouwHead of AdministrationThe Academy of Financial MarketsTel: (011) 782 2868Fax: (011) 782 2865