[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    [users@httpd] Re: users Digest 18 Mar 2019 11:59:14 -0000 Issue 5808
From:       Mike Starr <starrtennis () gmail ! com>
Date:       2019-03-19 3:34:39
Message-ID: CABhTyc9+nJiWqQi74s7sdU9P6osBPZD669pD1046rofffB9egQ () mail ! gmail ! com
[Download RAW message or body]

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 <users-digest-help@httpd.apache.org> 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: users@httpd.apache.org
> To unsubscribe, e-mail: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-digest-help@httpd.apache.org
>
> ----------------------------------------------------------------------
>
>
>
>
> ---------- Forwarded message ----------
> From: Flaviu Radulescu <flaviu.radulescu@lumminary.com.invalid>
> To: "users@httpd.apache.org" <users@httpd.apache.org>
> 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.com[image:
> https://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" <liz@academyfm.co.za>
> To: users@httpd.apache.org
> 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
> www.academyfm.co.za
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><font face="times new roman, serif">Flaviu: If you&#39;re doing what I \
think you&#39;re trying to do, I like it.</font><div><font face="times new roman, \
serif"><br></font></div><div><font face="times new roman, serif">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.</font></div><div><font face="times new roman, serif"><br></font></div><div><font \
face="times new roman, serif">Michael</font></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 18, 2019 at 4:59 AM \
&lt;<a href="mailto:users-digest-help@httpd.apache.org">users-digest-help@httpd.apache.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> users Digest 18 \
Mar 2019 11:59:14 -0000 Issue 5808<br> <br>
Topics (messages 118531 through 118532)<br>
<br>
Help configure a Reverse proxy with Substitute<br>
            118531 by: Flaviu Radulescu<br>
<br>
Apache server offline<br>
            118532 by: Elizmarié Louw<br>
<br>
Administrivia:<br>
<br>
---------------------------------------------------------------------<br>
To post to the list, e-mail: <a href="mailto:users@httpd.apache.org" \
target="_blank">users@httpd.apache.org</a><br> To unsubscribe, e-mail: <a \
href="mailto:users-digest-unsubscribe@httpd.apache.org" \
target="_blank">users-digest-unsubscribe@httpd.apache.org</a><br> For additional \
commands, e-mail: <a href="mailto:users-digest-help@httpd.apache.org" \
target="_blank">users-digest-help@httpd.apache.org</a><br> <br>
----------------------------------------------------------------------<br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From:  Flaviu Radulescu \
&lt;flaviu.radulescu@lumminary.com.invalid&gt;<br>To:  &quot;<a \
href="mailto:users@httpd.apache.org" target="_blank">users@httpd.apache.org</a>&quot; \
&lt;<a href="mailto:users@httpd.apache.org" \
target="_blank">users@httpd.apache.org</a>&gt;<br>Cc:  <br>Bcc:  <br>Date:  Fri, 15 \
Mar 2019 09:47:26 +0000<br>Subject:  Help configure a Reverse proxy with \
Substitute<br>





<div lang="EN-GB">
<div class="gmail-m_-9066579712099890894WordSection1">
<p class="MsoNormal">Dear community, <u></u><u></u></p>
<p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">I need an advice on how to configure a reverse proxy in which I \
need to replace the &lt;img src=&quot;&quot;&gt; tag from the response html with an \
ENV variable defined previously. How do you recommend me to do \
this?<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">I tried with substitute, but unfortunately doesn&#39;t seem to \
support variables.<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">The variable I am setting with the command: SetEnvIf Request_URI \
&quot;/lp\/([a-zA-Z0-9]*)&quot; st=$<a href="http://1.example.com" \
target="_blank">1.example.com</a><u></u><u></u></p> <p class="MsoNormal"><u></u>  \
<u></u></p> <p class="MsoNormal">and now I would like to use the {st} variable in the \
substitute<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">Substitute \
&quot;s|src=\&quot;(.*?)\&quot;|src=\&quot;%{st}e/lp/$1\&quot;|i&quot;<u></u><u></u></p>
 <p class="MsoNormal">I tried with %{st}e , ${st} in any combination it doesn&#39;t \
work.<u></u><u></u></p> <p class="MsoNormal"><u></u>  <u></u></p>
<p class="MsoNormal">Is there any way in which I can use e previous defined variable \
in rewriting the proxy response HTML?<u></u><u></u></p> <p class="MsoNormal"><u></u>  \
<u></u></p> <p class="MsoNormal">Thank you,<u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-US" \
style="font-size:7.5pt;font-family:Verdana,sans-serif;color:black"><u></u>  \
<u></u></span></b></p> <p class="MsoNormal"><b><span lang="EN-US" \
style="font-size:9pt;font-family:Arial,sans-serif;color:black">---<u></u><u></u></span></b></p>
 <p class="MsoNormal"><b><span lang="EN-US" \
style="font-size:9pt;font-family:Arial,sans-serif;color:black">FLAVIU \
RADULESCU</span></b><b><span lang="EN-US" \
style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(127,127,127)">  \
</span></b><span lang="EN-US" \
style="font-size:9pt;font-family:Arial,sans-serif;color:rgb(127,127,127)">|  \
Lumminary    |   </span><span lang="EN-US" \
style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(46,116,181)"><a \
href="https://lumminary.com/" target="_blank"><span \
style="color:rgb(46,116,181)">lumminary.com</span></a></span><span lang="EN-US" \
style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(46,116,181)"><img \
border="0" width="1" height="1" style="width: 0.0104in; height: 0.0104in;" \
id="gmail-m_-9066579712099890894_x0000_i1025" \
src="https://lumminary.com/1x1.png?t=flv-otlk" \
alt="https://lumminary.com/1x1.png?t=flv-otlk"></span><span lang="EN-US" \
style="color:black"><u></u><u></u></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:5pt;font-family:Arial,sans-serif;color:rgb(191,191,191)"><br> \
</span><span lang="EN-US" \
style="font-size:7pt;font-family:Arial,sans-serif;color:rgb(191,191,191)">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.</span><span lang="EN-US" style="color:black"><u></u><u></u></span></p> <p \
class="MsoNormal"><u></u>  <u></u></p> </div>
</div>

<br><br><br>---------- Forwarded message ----------<br>From:  &quot;Elizmarié \
Louw&quot; &lt;<a href="mailto:liz@academyfm.co.za" \
target="_blank">liz@academyfm.co.za</a>&gt;<br>To:  <a \
href="mailto:users@httpd.apache.org" \
target="_blank">users@httpd.apache.org</a><br>Cc:  <br>Bcc:  <br>Date:  Mon, 18 Mar \
2019 11:50:03 +0000<br>Subject:  Apache server offline<br>


<div>
<div>Good day,</div>
<div>  </div>
<div>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.</div> <div>We  have been  using this system for a number of years,  \
and we haven&#39;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.</div> \
<div>(There had been power interruptions in the area over the weekend, and we assume \
that this might have been the cause of the issue.)</div> <div>  </div>
<div>We are  at our wits&#39; 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...)</div> <div>  </div>
<div>Looking forward to your favorable response.</div>
<div>  </div>
<div>Kind regards</div>
<div>  </div>
<div id="gmail-m_-9066579712099890894signature_old">
<div align="left"><font size="2" face="Arial">Elizmarié Louw</font></div>
<div align="left"><font size="2" face="Arial">Head of Administration</font></div>
<div align="left"><font size="2" face="Arial"><strong>The Academy of Financial \
Markets</strong></font></div> <div align="left"><font size="2" face="Arial">Tel: \
</font><font size="2" face="Arial">(011) 782 2868</font></div> <div \
align="left"><font size="2" face="Arial">Fax: (011) 782 2865</font></div> <div \
align="left"><font size="2" face="Arial"><a href="http://www.academyfm.co.za" \
target="_blank">www.academyfm.co.za</a></font></div></div> <div>  \
</div></div></blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic