Re: users Digest 18 Mar 2019 11:59:14 -0000 Issue 5808

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: users Digest 18 Mar 2019 11:59:14 -0000 Issue 5808

Mike Starr
Flaviu: If you're doing what I think you're trying to do, I like it.

Elizmarie: I am looking through your log file but my limited knowledge of servers is hampering my ability to fix your problem. It may be electrical, if the power outage fucked it all up.

Michael

On Mon, Mar 18, 2019 at 4:59 AM <[hidden email]> wrote:

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: [hidden email]
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

----------------------------------------------------------------------




---------- Forwarded message ----------
From: Flaviu Radulescu <[hidden email]>
To: "[hidden email]" <[hidden email]>
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=\"(.*?)\"|src=\"%{st}e/lp/$1\"|i"

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.comhttps://lumminary.com/1x1.png?t=flv-otlk


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" <[hidden email]>
To: [hidden email]
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 regards
 
Elizmarié Louw
Head of Administration
The Academy of Financial Markets
Tel: (011) 782 2868
Fax: (011) 782 2865