Re: [users@httpd] Why ExpiresByType is ignored when has SetHandler application/x-httpd-php ?

2016-12-28 Thread Binyamin
בע"ה Isn't Apache expected to handle/support it? Why ExpiresDefault in FilesMatch doesn't work (also doesn't rewrite ExpiresByType defined above the FilesMatch)? Binyamin On Wed, Dec 28, 2016 at 9:15 AM, Michael A. Peters wrote: > Oh I should add - when it is a php file I also set the cache

Re: [users@httpd] Why ExpiresByType is ignored when has SetHandler application/x-httpd-php ?

2016-12-28 Thread Eric Covener
On Tue, Dec 27, 2016 at 10:29 PM, Yehuda Katz wrote: > Why ExpiresByType is ignored when has SetHandler application/x-httpd-php ? > > /sitemap.xml Response Headers shows 1 day expiration while expected to be 1 > year (1 month) > > Content-Type: application/xml; charset=utf-8 > Date:

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Adam Teale
more detail from the error log: [Wed Dec 28 09:31:05.974520 2016] [remoteip:debug] [pid 27844] mod_remoteip.c(357): [client 127.0.0.1:54002] AH01569: RemoteIP: Header X-Forwarded-For value of fe80::761b:b2ff:feda:99e7 appears to be a private IP or nonsensical. Ignored [Wed Dec 28 09:31:05.974700

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Yann Ylavic
On Wed, Dec 28, 2016 at 1:32 PM, Adam Teale wrote: > more detail from the error log: > > [Wed Dec 28 09:31:05.974744 2016] [proxy:debug] [pid 27844] > mod_proxy.c(1198): [client 127.0.0.1:54002] AH01143: Running scheme wss > handler (attempt 0) Looks like the request is missing the "Upgrade: WebS

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Yann Ylavic
On Wed, Dec 28, 2016 at 3:21 PM, Yann Ylavic wrote: > On Wed, Dec 28, 2016 at 1:32 PM, Adam Teale wrote: >> more detail from the error log: >> >> [Wed Dec 28 09:31:05.974744 2016] [proxy:debug] [pid 27844] >> mod_proxy.c(1198): [client 127.0.0.1:54002] AH01143: Running scheme wss >> handler (atte

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Eric Covener
On Wed, Dec 28, 2016 at 9:21 AM, Yann Ylavic wrote: > On Wed, Dec 28, 2016 at 1:32 PM, Adam Teale wrote: >> more detail from the error log: >> >> [Wed Dec 28 09:31:05.974744 2016] [proxy:debug] [pid 27844] >> mod_proxy.c(1198): [client 127.0.0.1:54002] AH01143: Running scheme wss >> handler (atte

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Eric Covener
On Tue, Dec 27, 2016 at 8:39 AM, Adam Teale wrote: > Hi! > > I've been trying to setup a reverse proxy to a localhost websocket url. > > ProxyPass /chat/stream/ wss://localhost:8000/chat/stream/ > ProxyPassReverse /chat/stream/ wss://localhost:8000/chat/stream/ > > I get an error in the apache err

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Eric Covener
On Wed, Dec 28, 2016 at 9:53 AM, Eric Covener wrote: > On Tue, Dec 27, 2016 at 8:39 AM, Adam Teale wrote: >> Hi! >> >> I've been trying to setup a reverse proxy to a localhost websocket url. >> >> ProxyPass /chat/stream/ wss://localhost:8000/chat/stream/ >> ProxyPassReverse /chat/stream/ wss://lo

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Adam Teale
Yann & Eric thank you for getting back to me. As far as I know the "normal" http traffic is via "/chat/" (well at least that is visited page url). When that page loads is connects to "/chat/stream" via the wss:// protocol using a javascript library called "reconnecting-websocket". So what I have

Re: [users@httpd] Web sockets & proxypass - No protocol handler was valid for the URL

2016-12-28 Thread Yann Ylavic
On Wed, Dec 28, 2016 at 4:47 PM, Adam Teale wrote: > > As far as I know the "normal" http traffic is via "/chat/" (well at least > that is visited page url). > > When that page loads is connects to "/chat/stream" via the wss:// protocol > using a javascript library called "reconnecting-websocket".

[users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread pritam sahoo
Team Please suggest the support for Apache Server on oracle Linux 5 and 6. I am looking for support for Apache 2.2 and Apache 2.4 support on Oracle linux 5 & 6 .Please suggest -- Regards, Pritam Sahoo 9632005027 EXIN Cloud Foundation ,ITIL V3 & COBIT V4 Certified ///Share your knowledge with o

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread Yehuda Katz
Are you looking for commercial support or do you have a specific question? If you need commercial support for Oracle Linux, you probably need to talk to Oracle. If you have a specific question about using HTTPS on Oracle Linux, post more details. - Y Sent from a device with a very small keyboard

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread pritam sahoo
Hi Yehuda  One of my customer is going to deploy Apache Server 2.2 on Oracle Linux 5/6 .I understand it should technically work . But on the apache documentation site it does not say about IS platform support for Apache server on oracle Linux. Customer will definitely buy oracle support for orac

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread Yehuda Katz
I am still not sure I understand your question. I believe Oracle Linux just uses YUM for packages, so especially if you will have support, just install and configure HTTPD supplied by Oracle as suggested in their documentation: https://docs.oracle.com/cd/E37670_01/E41138/html/ch15s02.html - Y On

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread pritam sahoo
Thanks this helps  Get Outlook for iOS _ From: Yehuda Katz Sent: Thursday, December 29, 2016 12:11 AM Subject: Re: [users@httpd] Query for Apache Server support on Oracle Linux To: I am still not sure I understand your question. I believe Oracle Li

[users@httpd] Copyright notices in httpd source files

2016-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Is it common to have a copyright notice in httpd C source files? Jim committed a donation of code for HAProxy's PROXY protocol in r1776076 and later. (Thanks, by the way: I've been hoping to get this in 2.4 for a while so consider me a big (ka

[users@httpd] HTTP 403 after upgrade from Debian old-stable

2016-12-28 Thread Dennis Carr
Heya. On Saturday, I did an upgrade of my server from Debian's previous stable version to the current stable version. With this, Apache updated to 2.4.10. In the process of that, I have a situation where it looks like everything immediately off of my web root (/opt/www in this case) and a Piperm

Re: [users@httpd] HTTP 403 after upgrade from Debian old-stable

2016-12-28 Thread Andrew Beverley
> On Saturday, I did an upgrade of my server from Debian's previous > stable version to the current stable version. With this, Apache > updated to 2.4.10. In the process of that, I have a situation where > it looks like everything immediately off of my web root (/opt/www in > this case) and a Pip

Re: [users@httpd] HTTP 403 after upgrade from Debian old-stable

2016-12-28 Thread Yehuda Katz
The config syntax for allow,deny access changed in 2.4. Check the upgrade docs for full details: http://httpd.apache.org/docs/2.4/upgrading.html The simplest option might be to enable mod_access_compat , but that might go away in a futur

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread Yehuda Katz
When you email a list like this, please keep all replies on the list too (unless someone gives you permission to email them directly). Many people here donate their time to help the community but charge for private consulting work. Help everyone benefit by keeping the conversation public. I don't

Re: [users@httpd] Query for Apache Server support on Oracle Linux

2016-12-28 Thread pritam sahoo
This customer is stringent on using Apache 2.2 only and not willing to upgrade to recent release . Meanwhile I could locate few links which says Apache 2.2 works well on Redhat/ centos but nothing specific to Oracle linux. Doubly making sure before putting word to customer on this . Just wonderi

[users@httpd] Re: HTTP 403 after upgrade from Debian old-stable

2016-12-28 Thread Dennis Carr
On Thu, 29 Dec 2016 00:22:09 + Andrew Beverley wrote: > Go to this page and search for "Require all granted": > https://httpd.apache.org/docs/current/upgrading.html Spot on, though I'm finding I have to pretty much rewrite my configs anyway for other reasons. The pointer is greatly appr

Re: [users@httpd] Copyright notices in httpd source files

2016-12-28 Thread Dr James Smith
At work all out software is open source - but we have to include a copyright notice in all source files where possible - as we then distribute the content under LGPL. The logic is that if we didn't claim copyright on the contents of the source - someone else might claim it and make it closed so