You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Muduli, Chittaranjan" <Ch...@diligenta.co.uk> on 2016/12/23 14:44:16 UTC

[users@httpd] How to get notify on new releases

Hi,

Any one know how to get the notification of new releases or security fixes on apache webservers and is there any way to automate the apache upgrade process to a newerversion.

Diligenta Limited (Company No. 5535029) is a subsidiary of Tata Consultancy Services Limited.  Diligenta Limited is registered in England and Wales, has its registered office at Lynch Wood, Peterborough, PE2 6FY and is authorised and regulated by the Financial Conduct Authority.

The information in this e-mail is confidential and may be legally privileged. It is intended solely for the intended recipient and access to this e-mail by anyone else is unauthorised. If you have received this message in error, please notify us and remove it from your system. Although this message and any attachments are believed to be free of any virus (or other defect) that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by Diligenta Limited or Tata Consultancy Services Limited for any loss or damage in any way arising from its use. Any views or opinions presented are solely those of the author and do not necessarily represent those of Diligenta Limited. Replies to this e-mail may be monitored for operational or business reasons.

RE: [users@httpd] How to get notify on new releases

Posted by Joe Muller <jm...@ARCcorp.com>.
Happy Holidays !

I am trying to implement an eror page server using mod_rewrite.  The basic premise is that if the Apache proxies for our application go down, the network load balancer will redirect traffic to this Apache server.  The server will pop up an application specific message, depending on the value of %{HTTP_HOST}

So for example, inside our htdocs I may have the follow:

/weberror
                              App1.domain.com/
                                                                           error.html
                                                                           images/
                                                                                          image.jpg
                                                                                          style.css
                              App2.domain.com/
                                                                           error.html
                                                                           Images/
                                                                                          Image.jpg
                                                                                          Style.css




I receive the error.html in my browser, but the problem is any image or CSS files linked to and referred from the error.html are not being evaluated and returned.

Any help or advice would be appreciated.  I am fairly new to Apache, and mod_write.  Config and logs are below:

<VirtualHost A.B.C.D:6443>
ServerName intgerror.domain com
ServerAlias intgsfms.domain.com
Include conf-intgerror-1/extra/httpd-ssl.conf
SSLEngine On

RewriteCond expr "! %{HTTP_REFERER} -strmatch '*://%{HTTP_HOST}/*'"
RewriteRule ^(.*)$ "%{DOCUMENT_ROOT}/weberror/%{HTTP_HOST}/error.html"

RewriteCond expr "%{HTTP_REFERER} -strmatch '*://%{HTTP_HOST}/*'"
RewriteRule %{REQUEST_URI} "%{DOCUMENT_ROOT}/weberror/%{HTTP_HOST}/%{REQUEST_URI}"

</VirtualHost>


[Fri Dec 23 16:29:59.191819 2016] [rewrite:trace1] [pid 27994:tid 140330801940224] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c011bc0/initial] go-ahead with /usr/local/apache2/htdocs/weberror/app1.domain.com/error.html [OK], referer: https://
portal.domain.com/PortalApp/ARCGateway.portal?_nfpb=true&_st=&_pageLabel=ARC_Home&_nfls=false
[Fri Dec 23 16:29:59.318682 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): GET /css/sims_error.css HTTP/1.1\r\n
[Fri Dec 23 16:29:59.318694 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Host: app1.domain.com\r\n
[Fri Dec 23 16:29:59.318703 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Connection: keep-alive\r\n
[Fri Dec 23 16:29:59.318730 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36\r\n
[Fri Dec 23 16:29:59.318739 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Accept: text/css,*/*;q=0.1\r\n
[Fri Dec 23 16:29:59.318747 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Referer: https://app1.domain.com/\r\n
[Fri Dec 23 16:29:59.318755 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Accept-Encoding: gzip, deflate, sdch, br\r\n
[Fri Dec 23 16:29:59.318764 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Accept-Language: en-US,en;q=0.8\r\n
[Fri Dec 23 16:29:59.318772 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Cookie: TLTSID=960CFC0EC95510C9DDE995BA901729C4; TLTUID=960CFC0EC95510C9DDE995BA901729C4; __utmt=1; CTSESSION=AAAAAgABAEAGphwMwZFX7
W4v5oAerrHpWuAW7j7Z1Ka3drxzNI1ozEFQf8UV31sK05Bfn0V4iB%2BaRuYPG0JTkELaZZGFUEcg; TLTHID=F4303DD6C95610C99701AD5111D360B7; __utma=239853532.1552551237.1482528011.1482528011.1482528011.1; __utmb=239853532.10.10.1482528011; __utmc=239853532; __utmz=239853532.1482528011.1.1.utmcsr=(direct)|utmccn=(direct)
|utmcmd=(none)\r\n
[Fri Dec 23 16:29:59.318785 2016] [dumpio:trace7] [pid 27994:tid 140330803525376] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): \r\n
[Fri Dec 23 16:29:59.318806 2016] [rewrite:trace2] [pid 27994:tid 140330803525376] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c00e150/initial] init rewrite engine with requested uri /css/sims_error.css, referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.318815 2016] [rewrite:trace3] [pid 27994:tid 140330803525376] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c00e150/initial] applying pattern '^(.*)$' to uri '/css/sims_error.css', referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.318823 2016] [rewrite:trace4] [pid 27994:tid 140330803525376] util_expr_eval.c(860): [client 192.168.1.2:16136] Evaluation of expression from /usr/local/apache2/conf-intgerror-1/httpd.conf:548 gave: 1, referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.318829 2016] [rewrite:trace4] [pid 27994:tid 140330803525376] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c00e150/initial] RewriteCond: input='(null)' pattern='! %{HTTP_REFERER} -strmatch '*://%{HTTP_HOST}/*'' => not-match
ed, referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.318833 2016] [rewrite:trace3] [pid 27994:tid 140330803525376] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c00e150/initial] applying pattern '%{REQUEST_URI}' to uri '/css/sims_error.css', referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.318838 2016] [rewrite:trace1] [pid 27994:tid 140330803525376] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c00e150/initial] pass through /css/sims_error.css, referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.324066 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): GET /img/ARC_logo.gif HTTP/1.1\r\n
[Fri Dec 23 16:29:59.324077 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Host: app1.domain.com\r\n
[Fri Dec 23 16:29:59.324090 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Connection: keep-alive\r\n
[Fri Dec 23 16:29:59.324099 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36\r\n
[Fri Dec 23 16:29:59.324108 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Accept: image/webp,image/*,*/*;q=0.8\r\n
[Fri Dec 23 16:29:59.324116 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Referer: https://app1.domain.com/\r\n
[Fri Dec 23 16:29:59.324124 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Accept-Encoding: gzip, deflate, sdch, br\r\n
[Fri Dec 23 16:29:59.324133 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Accept-Language: en-US,en;q=0.8\r\n
[Fri Dec 23 16:29:59.324141 2016] [dumpio:trace7] [pid 27994:tid 140330804053760] mod_dumpio.c(103): [client 192.168.1.2:16136] mod_dumpio:  dumpio_in (data-TRANSIENT): Cookie: TLTSID=960CFC0EC95510C9DDE995BA901729C4; TLTUID=960CFC0EC95510C9DDE995BA901729C4; __utmt=1; CTSESSION=AAAAAgABAEAGphwMwZFX7
W4v5oAerrHpWuAW7j7Z1Ka3drxzNI1ozEFQf8UV31sK05Bfn0V4iB%2BaRuYPG0JTkELaZZGFUEcg; TLTHID=F4303DD6C95610C99701AD5111D360B7; __utma=239853532.1552551237.1482528011.1482528011.1482528011.1; __utmb=239853532.10.10.1482528011; __utmc=239853532; __utmz=239853532.1482528011.1.1.utmcsr=(direct)|utmccn=(direct)
|utmcmd=(none)\r\n
[Fri Dec 23 16:29:59.324168 2016] [rewrite:trace2] [pid 27994:tid 140330804053760] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c011bc0/initial] init rewrite engine with requested uri /img/ARC_logo.gif, referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.324173 2016] [rewrite:trace3] [pid 27994:tid 140330804053760] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c011bc0/initial] applying pattern '^(.*)$' to uri '/img/ARC_logo.gif', referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.324179 2016] [rewrite:trace4] [pid 27994:tid 140330804053760] util_expr_eval.c(860): [client 192.168.1.2:16136] Evaluation of expression from /usr/local/apache2/conf-intgerror-1/httpd.conf:548 gave: 1, referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.324184 2016] [rewrite:trace4] [pid 27994:tid 140330804053760] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c011bc0/initial] RewriteCond: input='(null)' pattern='! %{HTTP_REFERER} -strmatch '*://%{HTTP_HOST}/*'' => not-match
ed, referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.324188 2016] [rewrite:trace3] [pid 27994:tid 140330804053760] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c011bc0/initial] applying pattern '%{REQUEST_URI}' to uri '/img/ARC_logo.gif', referer: https://app1.domain.com/
[Fri Dec 23 16:29:59.324192 2016] [rewrite:trace1] [pid 27994:tid 140330804053760] mod_rewrite.c(476): [client 192.168.1.2:16136] 192.168.1.2 - - [app1.domain.com/sid#be22d0][rid#7fa13c011bc0/initial] pass through /img/ARC_logo.gif, referer: https://app1.domain.com/


Re: [users@httpd] How to get notify on new releases

Posted by Yehuda Katz <ye...@ymkatz.net>.
If you install from your operating systems packages it may be possible to
have security updates automatically installed - as long as they are
backported by the OS package maintainer.
You could probably also set up your own system to build HTTPD and make it
available to your systems through their package manager.

As far as getting notifications thought, that is a bit harder. There is an
ANNOUNCE list for the project, but you can't guarantee that every message
to it is a new release or that the new release being announced won't break
something on your server due. You are much better off subscribing to the
list and then triggering your semi-automatic upgrade process manually.

- Y

On Fri, Dec 23, 2016 at 9:44 AM, Muduli, Chittaranjan <
Chittaranjan.Muduli@diligenta.co.uk> wrote:

> Hi,
>
>
> Any one know how to get the notification of new releases or security fixes
> on apache webservers and is there any way to automate the apache upgrade
> process to a newerversion.
>
> Diligenta Limited (Company No. 5535029) is a subsidiary of Tata Consultancy Services Limited.  Diligenta Limited is registered in England and Wales, has its registered office at Lynch Wood, Peterborough, PE2 6FY and is authorised and regulated by the Financial Conduct Authority.
>
> The information in this e-mail is confidential and may be legally privileged. It is intended solely for the intended recipient and access to this e-mail by anyone else is unauthorised. If you have received this message in error, please notify us and remove it from your system. Although this message and any attachments are believed to be free of any virus (or other defect) that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free. No responsibility is accepted by Diligenta Limited or Tata Consultancy Services Limited for any loss or damage in any way arising from its use. Any views or opinions presented are solely those of the author and do not necessarily represent those of Diligenta Limited. Replies to this e-mail may be monitored for operational or business reasons.
>
>