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

2016-06-08 Thread linux.il
iteCond "%{REQUEST_FILENAME}" !-d > RewriteRule "^/(.*)" "http://old.example.com/$1"; [P] > > - Y > > Sent from a device with a very small keyboard and hyperactive autocorrect. > On Jun 8, 2016 4:13 AM, "linux.il" wrote: > >>

[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

Re: [users@httpd] TLS 1.1 and 1.2 and SNI support

2016-05-24 Thread linux.il
Eric and Igor, you're right - SNI works nice with TLS1.x. In my case it was some weird compatibility issues, not related to SNI. Thank you very much! Vitaly On Tue, May 24, 2016 at 9:37 AM, linux.il wrote: > >> > On Mon, May 23, 2016 at 5:16 PM, Eric Covener >> wrote:

Re: [users@httpd] TLS 1.1 and 1.2 and SNI support

2016-05-23 Thread linux.il
> > > > On Mon, May 23, 2016 at 5:16 PM, Eric Covener wrote: > >> > >> > For some reason if I add "-TLSv1" to SSLProtocol directive in my > default > >> > SSL vhost, SNI isn't working anymore: > >> > > >> > "SSLProtocol All -SSLv2 -SSLv3 -TLSv1" > >> > > >> > >> What protocol is used?

Re: [users@httpd] TLS 1.1 and 1.2 and SNI support

2016-05-23 Thread linux.il
On Mon, May 23, 2016 at 5:31 PM, Eric Covener wrote: > On Mon, May 23, 2016 at 10:27 AM, linux.il wrote: > > I'm using the same "curl" and "wget" for testing. As far as I disable > TLS > > v1.0, I get "curl: (35) SSL connect error" and >

Re: [users@httpd] TLS 1.1 and 1.2 and SNI support

2016-05-23 Thread linux.il
On Mon, May 23, 2016 at 5:16 PM, Eric Covener wrote: > > For some reason if I add "-TLSv1" to SSLProtocol directive in my default > > SSL vhost, SNI isn't working anymore: > > > > "SSLProtocol All -SSLv2 -SSLv3 -TLSv1" > > > > What protocol is used? Does the client send the SNI exten

Re: [users@httpd] TLS 1.1 and 1.2 and SNI support

2016-05-23 Thread linux.il
On Mon, May 23, 2016 at 4:39 PM, Eric Covener wrote: > On Mon, May 23, 2016 at 9:36 AM, linux.il wrote: > > As far as I see from my experiments (Apache 2.4.6 on RHEL7) and users > > reports, SNI needs TLS 1.0 and doesn't work with TLS1.1/1.2. > > This beha

[users@httpd] TLS 1.1 and 1.2 and SNI support

2016-05-23 Thread linux.il
As far as I see from my experiments (Apache 2.4.6 on RHEL7) and users reports, SNI needs TLS 1.0 and doesn't work with TLS1.1/1.2. This behavior seems me really weird; unfortunately I couldn't find any explanation for it. My question is: did I miss something? Is there any way to use SNI w/o TLSv1?

Re: [users@httpd] Is it possible to redirect user to "market://..." URI?

2012-01-11 Thread linux.il
On Wed, Jan 11, 2012 at 2:01 AM, Jeroen Geilman wrote: > On 01/10/2012 09:17 AM, linux.il wrote: >>> >>> On Mon, Jan 9, 2012 at 9:31 PM, Jeroen Geilman  wrote: >>> >>>> On 2012-01-09 14:08, linux.il wrote: >>>> >>>> On my website

Re: [users@httpd] Is it possible to redirect user to "market://..." URI?

2012-01-10 Thread linux.il
>On Mon, Jan 9, 2012 at 9:31 PM, Jeroen Geilman wrote: > >> On 2012-01-09 14:08, linux.il wrote: >> >> On my website I should redirect Android users to my application on Android >> Market. What is the optimal way to do this? My first dea >>was >> >&g

[users@httpd] Is it possible to redirect user to "market://..." URI?

2012-01-09 Thread linux.il
On my website I should redirect Android users to my application on Android Market. What is the optimal way to do this? My first idea was RewriteCond %{HTTP_USER_AGENT} Android [NC] RewriteRule ^/$ market://details?id=.. But it doesn't work. Is it doable in Apache? TIA,