[users@httpd] Socket level time-out configuration in the Apache HTTP server

2014-02-06 Thread Todd MacKay
Is there socket level time-out configuration in the Apache HTTP server? If yes, which module(s) should be included and how should they be configured? Background: Using the Apache 2.2.24 HTTP server, we are running a PHP process that performs long-running operations to send output results to clie

Re: [users@httpd] Socket level time-out configuration in the Apache HTTP server

2014-02-06 Thread Michel Labarre
Hi It's a common problem with long time process. But if the user close its browser and application runs, this one has no interaction with network. We have the following scenario: . connection : handshake with SYN, SYN-ACK - ACK packets between browser and apache . HTTP request received from the

Re: [users@httpd] Configuring mod_proxy_hml and mod_proxy_wstunnel on the same URL (different protocols)

2014-02-06 Thread Eric Covener
On Thu, Feb 6, 2014 at 2:51 AM, Maxim Solodovnik wrote: > Can someone please tell me is it possible to proxy resources based on > protocol? > http://some_url will go to http://localhost:8080/someurl > ws://some_url will go to ws://localhost:8080/someurl I don't think so, those aren't actually dif

Re: [users@httpd] Configuring mod_proxy_hml and mod_proxy_wstunnel on the same URL (different protocols)

2014-02-06 Thread Maxim Solodovnik
Thanks Eric, Will try to workaround this On Thu, Feb 6, 2014 at 8:31 PM, Eric Covener wrote: > On Thu, Feb 6, 2014 at 2:51 AM, Maxim Solodovnik > wrote: > > Can someone please tell me is it possible to proxy resources based on > > protocol? > > http://some_url will go to http://localhost:8080

[users@httpd] Generating a gzip response from multiple pre-gzipped files on disk

2014-02-06 Thread Tom Evans
Hi all At $JOB we have a web app that generates XML for another web app to use. Each complete XML document is a list of individual items, and each item is stored on disk, in gzip format to save space - the format is overly verbose, and compression is highly effective, and gzip is nicely transparen

[users@httpd] File doesn't exist

2014-02-06 Thread Roman Gelfand
I am not sure why I am getting this error. It actually brings up the site but stylesheet is not applied. [Thu Feb 06 20:17:57 2014] [error] [client 192.168.0.209] File does not exist: /var/www/dspam/usr, referer: http://dspam.mail.tld/dspam.cgi my site config SuexecUserGroup dspam dspam Add

[users@httpd] reverse proxy: connect to origin servers via http or https?

2014-02-06 Thread Jakub Moscicki
Hello, I have a reverse proxy (apache 2.2) with mod_proxy_balancer with https visible to the outside world. The question is: from the proxy performance/scalability point of view is it better to configure backends (origin servers) with http or with https? Is it true that if proxy is setup https

Re: [users@httpd] File doesn't exist

2014-02-06 Thread Yehuda Katz
On Thu, Feb 6, 2014 at 8:30 PM, Roman Gelfand wrote: First, instead of Alias / "/var/www/dspam/" you should be using DocumentRoot /var/www/dspam I am not sure why I am getting this error. It actually brings up the > site but stylesheet is not applied. > > [Thu Feb 06 20:17:57 2014] [error] [cli