Re: [users@httpd] moving to fastcgi, was Re: [users@httpd] SOLVED MYSTERIOUSLY: Re: [users@httpd] apache apparently starts, crashes, logs absolutely nothing

2015-01-29 Thread Daniel
2015-01-29 20:35 GMT+01:00 David Benfell : > On Thu, Jan 29, 2015 at 10:50:04AM +, Daniel wrote: > > The thing is more about stopping the use of mod_php in favor of fcgi > solution > > such as leave the php processing to php-fpm, that will enable you to use > the so > > much more performant ev

Re: [users@httpd] Apache 2.4.10 AH00485: scoreboard is full, not at MaxRequestWorkers

2015-01-29 Thread Daniel
2015-01-30 1:03 GMT+01:00 Mark Jacquet : > Problem: Apache server will stay up for random amount of time, usually > days, but eventually enters a hung state. When hung the CPU load gradually > spikes on the machine > and new web server requests are unresponsive. > > Error logs typically contain l

Re: [users@httpd] More mod_proxy

2015-01-29 Thread Yehuda Katz
That should be the correct directive to have it ignore the name on the certificate. Does the target system have an error log showing the connection? There could be other errors with the SSL handshake besides the name not matching. - Y On Thu, Jan 29, 2015 at 6:40 PM, Chris Arnold wrote: > Apa

[users@httpd] Apache 2.4.10 AH00485: scoreboard is full, not at MaxRequestWorkers

2015-01-29 Thread Mark Jacquet
Problem: Apache server will stay up for random amount of time, usually days, but eventually enters a hung state. When hung the CPU load gradually spikes on the machine  and new web server requests are unresponsive. Error logs typically contain lots of these:     Wed Jan 28 16:06:58.667188 2015]

[users@httpd] More mod_proxy

2015-01-29 Thread Chris Arnold
Apache 2.4.10 on SLES12. I am trying to send https://domain.tld/ifolder to and server running the app. Here is what i have in my ssl vhost: ProxyPass /ifolder https://domain.tld/ifolder ProxyPassReverse /ifolder https://domain.tld/ifolder This results in a 500 in the broswer. Here are the corr

Re: [users@httpd] Apache URL RewriteCond / RewriteRule question

2015-01-29 Thread Igor Cicimov
On 30/01/2015 8:22 AM, "Mirko Hufnagel" wrote: > > Hello, > > My name is Mirko and I have a problem with our RewriteRules. > > What I want: > > Visitor type the URL www.linart.de > And we forward him to www.linuxart.de/en > > That works! > > Visitor type the URL www.linart.de/en > And we forward h

[users@httpd] Apache URL RewriteCond / RewriteRule question

2015-01-29 Thread Mirko Hufnagel
Hello, My name is Mirko and I have a problem with our RewriteRules. What I want: Visitor type the URL www.linart.de And we forward him to www.linuxart.de/en That works! Visitor type the URL www.linart.de/en And we forward him to www.linuxart.de/en That works! Visitor type the URL www.linuxar

[users@httpd] moving to fastcgi, was Re: [users@httpd] SOLVED MYSTERIOUSLY: Re: [users@httpd] apache apparently starts, crashes, logs absolutely nothing

2015-01-29 Thread David Benfell
On Thu, Jan 29, 2015 at 10:50:04AM +, Daniel wrote: > The thing is more about stopping the use of mod_php in favor of fcgi solution > such as leave the php processing to php-fpm, that will enable you to use the > so > much more performant event mpm in httpd, and from there you will just have t

[users@httpd] /cgi-bin/my.cgi was not found on this server

2015-01-29 Thread James Cook
I'm struggling to get my server to recognize cgi-bin in a URL. If I place my cgi script in any site's root folder, it works perfectly without including cgi-bin in the URL. So my server is processing cgi correctly. If I attempt to use any cgi-bin configuration, it results in a 404 error. I'm run

Re: [users@httpd] Redirect http to https

2015-01-29 Thread Daniel
you can Redirect / to https://domain/share/ RedirectMatch is to use regular expressions, pcre. Please read the different uses at: http://httpd.apache.org/docs/current/mod/mod_alias.html El Thu Jan 29 2015 at 13:37:15, Chris Arnold () escribió: > Don't use pcre in redirect. > > For what you ask

Re: [users@httpd] Configure remote php-fpm server with SetHandler

2015-01-29 Thread Eric Covener
On Thu, Jan 29, 2015 at 9:34 AM, Santiago DIEZ wrote: > The directive that I fail to work out is *SetHandler*. > ​SetHandler will always pass the full path as mapped by the core of Apache to the fcgi server (that is one of the benefits). Perhaps for your case, changing where the file is mapped

Re: [users@httpd] Configure remote php-fpm server with SetHandler

2015-01-29 Thread Santiago DIEZ
Thanks Marcello but my ProxyPassMatch directive works fine. You've rightfully pointed out that I forgot the $1 though. That's a copy/paste mistake. The $1 appears in my directive. The directive that I fail to work out is *SetHandler*. That's the one for which I need help.

Re: [users@httpd] Redirect http to https

2015-01-29 Thread Chris Arnold
Don't use pcre in redirect. For what you ask you just need a simple: Redirect / https://yourdomain/ in the nonssl virtual host. If you insist on using pcre with redirect for some particular reason you have not mentioned yet, use RedirectMatch. Won't that redirect all traffic? I only need to red

Re: [users@httpd] Redirect http to https

2015-01-29 Thread Daniel
Don't use pcre in redirect. For what you ask you just need a simple: Redirect / https://yourdomain/ in the nonssl virtual host. If you insist on using pcre with redirect for some particular reason you have not mentioned yet, use RedirectMatch. Regards El jue., 29 de enero de 2015 1:06, Chris A

Re: [users@httpd] SOLVED MYSTERIOUSLY: Re: [users@httpd] apache apparently starts, crashes, logs absolutely nothing

2015-01-29 Thread Daniel
The thing is more about stopping the use of mod_php in favor of fcgi solution such as leave the php processing to php-fpm, that will enable you to use the so much more performant event mpm in httpd, and from there you will just have to proxy requests to php files from httpd to php-fpm through mod_p