Re: [users@httpd] Is there a way to return non-200 status when HHVM backend is down?

2016-06-08 Thread Yehuda Katz
I miss read your question and thought you were asking it the other way around. The only thing I can think of would be to have HHVM handle every request itself instead of having HTTPD serve static files. - Y On Thu, Jun 9, 2016 at 12:43 AM, linux.il wrote: > > > On Wed, Jun 8, 2016 at 3:35 PM, Y

Re: [users@httpd] Is there a way to return non-200 status when HHVM backend is down?

2016-06-08 Thread linux.il
On Wed, Jun 8, 2016 at 3:35 PM, Yehuda Katz wrote: > If you use mod_rewrite instead of ProxyPass, you can specify it should > only proxy for files that don't exist. This is an example from the > documentation: > > RewriteCond "%{REQUEST_FILENAME}" !-f > RewriteCond "%{REQUEST_FILENAME}" !-d > Rew

Re: [users@httpd] AW: mod_cache/mod_cache_disk responses missing Content-Type header

2016-06-08 Thread Raphaël
On Mon, Dec 21, 2015 at 11:39:55AM -0500, Eric Covener wrote: > On Mon, Dec 21, 2015 at 11:25 AM, Alexander Härtig > wrote: > > AH00717: Premature end of cache headers. > > The error reporting is very poor there. Are you able to patch > mod_cache_disk and run with at least LogLevel debug? > > ht

Re: [users@httpd] SVN checkout of latest official Apache release

2016-06-08 Thread Mike Rumph
On 6/7/2016 5:54 PM, Balcos, Michael wrote: Hi Mike, Thank you for the reply. I believe that I’ll have to write a script in order to know what is the latest official release of Apache 2.2 under https://svn.apache.org/repos/asf/httpd/httpd/tags , and then do a svn checkout on the said releas

Re: [users@httpd] Last-Modified header overridden

2016-06-08 Thread Vacelet, Manuel
On Tue, Jun 7, 2016 at 11:02 PM, Luca Toscano wrote: > > > 2016-06-07 10:55 GMT+02:00 Vacelet, Manuel : > >> >> >> On Mon, Jun 6, 2016 at 5:32 PM, Vacelet, Manuel < >> manuel.vace...@enalean.com> wrote: >> >>> dOn Mon, Jun 6, 2016 at 5:00 PM, Vacelet, Manuel < >>> manuel.vace...@enalean.com> wrot

Re: [users@httpd] Is there a way to return non-200 status when HHVM backend is down?

2016-06-08 Thread Yehuda Katz
If you use mod_rewrite instead of ProxyPass, you can specify it should only proxy for files that don't exist. This is an example from the documentation: RewriteCond "%{REQUEST_FILENAME}" !-f RewriteCond "%{REQUEST_FILENAME}" !-d RewriteRule "^/(.*)" "http://old.example.com/$1"; [P] - Y Sent from

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Nick Kew
On Wed, 2016-06-08 at 08:01 -0400, Eric Covener wrote: > On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: > > Then my question is, could it be possible ? > > You would need your own daemon launched during an early hook (like > post_config). You wouldn't be able to respond [directly] to request

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Ben RUBSON
> On 8 jun 2016 at 14:01, Eric Covener : > > On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >> Then my question is, could it be possible ? > > You would need your own daemon launched during an early hook (like > post_config). You wouldn't be able to respond [directly] to requests, > you'd n

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Eric Covener
On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: > Then my question is, could it be possible ? You would need your own daemon launched during an early hook (like post_config). You wouldn't be able to respond [directly] to requests, you'd need to reach out over something like a pipe the way rew

Re: [users@httpd] Last-Modified header overridden

2016-06-08 Thread Luca Toscano
[+devs] 2016-06-07 23:02 GMT+02:00 Luca Toscano : > > > 2016-06-07 10:55 GMT+02:00 Vacelet, Manuel : > >> >> >> On Mon, Jun 6, 2016 at 5:32 PM, Vacelet, Manuel < >> manuel.vace...@enalean.com> wrote: >> >>> dOn Mon, Jun 6, 2016 at 5:00 PM, Vacelet, Manuel < >>> manuel.vace...@enalean.com> wrote:

[users@httpd] Re: root perms / rewritemap prg / module system()

2016-06-08 Thread Ben RUBSON
Hello, Any thoughts on the topic below please ? Apache dev-team, Eric, Rainer... ? :) Many thanks ! Best regards, Ben > On 17 apr. 2016 at 00:00, Ben RUBSON : > > Hello, > > When Apache is started from root user (as all services are), even if it then > switches to the configured user:grou

[users@httpd] Is there a way to return non-200 status when HHVM backend is down?

2016-06-08 Thread linux.il
Hi, I'm running Apache 2.4 with HHVM backend (.php processing is going to HHVM on :9000 with ProxyPassMatch directive). >From time to time HHVM service is freezing, so PHP stuff return 503, but static pages work as usual. I'd like Apache to return 503 or any non-200 status for static pages in thi