Re: [users@httpd] Controlling access to web site based on domain name

2022-12-22 Thread Rose, John B
e.org%2Fdocs%2F2.4%2Fvhosts%2Fexamples.html&data=05%7C01%7Cjbrose%40utk.edu%7Cdf01786b3ed14f0ed24608dadfad377b%7C515813d9717d45dd9eca9aa19c09d6f9%7C0%7C0%7C638068232297166282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=whBJuu6xgOhfdhKyiZ8JBMq5Q59DXiLUHi4

Re: [users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Rose, John B
/?url=https%3A%2F%2Fhttpd.apache.org%2Fdocs%2F2.4%2Fvhosts%2Fexamples.html&data=05%7C01%7Cjbrose%40utk.edu%7Cdf01786b3ed14f0ed24608dadfad377b%7C515813d9717d45dd9eca9aa19c09d6f9%7C0%7C0%7C638068232297166282%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3

Re: [users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Rose, John B
; On Fri, Dec 16, 2022 at 4:01 PM Rose, John B wrote: We would like to control access to a web site based on a listed domain and redirect any accesses from domains not listed to a particular web page. We need to be able to use the domain names and not IP addresses. Is this something we should

[users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Rose, John B
We would like to control access to a web site based on a listed domain and redirect any accesses from domains not listed to a particular web page. We need to be able to use the domain names and not IP addresses. Is this something we should be able to do within .htaccess and using Rewrite for th

Re: [users@httpd] Is NGINX faster than Apache?

2021-03-11 Thread Rose, John B
We did some testing of Apache and nGinx head to head for something a few years ago. We also did a bit of testing of Apache, nGinx, haproxy and lighthttpd a couple years ago for something else, and ended up picking Apache after whittling it down to Apache and HAProxy. Apache was as fast as nGin

[users@httpd] fcgi unix domain socket/TCP socket question

2019-08-20 Thread Rose, John B
Couple of questions ... Reading this Apache httpd document ... https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html Does the below mean if the max children for a PHP-FPM pool using Unix Domain Sockets is reached then any subsequent PHP-FPM requests for that virtual host utilize a TCP socke

Re: [users@httpd] ProxyTimeOut value question

2019-04-18 Thread Rose, John B
Thanks Suvendu From: Suvendu Sekhar Mondal Sent: Thursday, April 11, 2019 1:58:19 PM To: users@httpd.apache.org Subject: Re: [users@httpd] ProxyTimeOut value question John, On Tue, Apr 9, 2019, 11:31 PM Rose, John B mailto:jbr...@utk.edu> wrote: Any lik

[users@httpd] 443 section of name based virtual host conf file being ignored

2019-04-17 Thread Rose, John B
It seems my Port 80 settings are functioning properly, but the section contents are being ignored Any ideas why that would be happening? this is the original, or base virtual host .conf Thanks

[users@httpd] Ssl certificate ignored in virtual host

2019-04-17 Thread Rose, John B
Why would ssl.conf certificate settings override the certificate settings in a specific virtual host config file? Sent from my iPad - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: use

[users@httpd] ProxyTimeOut value question

2019-04-09 Thread Rose, John B
Any likely problems with setting ProxyTimeOut to 120? Or is that a Directive whose value is commonly increased?

Re: [users@httpd] Apache Timeouts, fastcgi, etc settings recommendations for Wordpress site servers?

2019-04-03 Thread Rose, John B
-2.4.6 rpm version. On Tue, Apr 2, 2019 at 10:25 PM Yann Ylavic wrote: > > Well, possibly, but then I need the Redhat version.. > > On Tue, Apr 2, 2019 at 10:09 PM Rose, John B wrote: > > > > 2.4.6 but that can be a bit misleading from what I understand if it is Red

Re: [users@httpd] Apache Timeouts, fastcgi, etc settings recommendations for Wordpress site servers?

2019-04-02 Thread Rose, John B
Red Hat 7 Sent from my iPad > On Apr 2, 2019, at 4:26 PM, Yann Ylavic wrote: > > Well, possibly, but then I need the Redhat version.. > >> On Tue, Apr 2, 2019 at 10:09 PM Rose, John B wrote: >> >> 2.4.6 but that can be a bit misleading from what I understand if

Re: [users@httpd] Apache Timeouts, fastcgi, etc settings recommendations for Wordpress site servers?

2019-04-02 Thread Rose, John B
@httpd.apache.org Subject: Re: [users@httpd] Apache Timeouts, fastcgi, etc settings recommendations for Wordpress site servers? Hi, On Tue, Apr 2, 2019 at 8:38 PM Rose, John B wrote: > > The result afterwards are a bunch of this type, until we reboot … > > [Mon Apr 01 14:26:45

[users@httpd] Apache Timeouts, fastcgi, etc settings recommendations for Wordpress site servers?

2019-04-02 Thread Rose, John B
Hello If you have servers with dozens of standalone installations of Wordpress, what settings are typically changed from the Apache/Fastcgi/PHP defaults with regards to timeouts, execution time, etc. On occasion when users are updating the application, we get a timeout error in Apache, and n

Re: [users@httpd] Re: Apache web server devouring resources

2019-03-28 Thread Rose, John B
buted Application Platform Services Northwestern University 1800 Sherman Ave. Suite 6-600 – Box #39 Evanston, IL 60201-3715 darryl.ba...@northwestern.edu<mailto:darryl.ba...@northwestern.edu> (847) 467-6674 From: "Rose, John B" Reply-To: "users@httpd.apache.org" Date: Th

[users@httpd] Re: Apache web server devouring resources

2019-03-28 Thread Rose, John B
Regarding the "load increasing quickly after restarting the daemons" ... I do not believe just restarting the daemons clears the TCP queue. Nor does it prevent new TCP requests. If it is an attack, then the load would ramp back up immediately. That is why you have to reboot I am guessing. Do

Re: [users@httpd] Does Apache do a "graceful" automatically over time?

2019-03-27 Thread Rose, John B
Eric, as always, thanks for replying. I think logrotate is the likely culprit. Looking at apachectl status it doesn’t do a stop start, since no indication of an overnight restart. So I assume a “graceful” on Linux Thanks again for the help Sent from my iPad On Mar 27, 2019, at 5:21 PM, Eric C

[users@httpd] Does Apache do a "graceful" automatically over time?

2019-03-27 Thread Rose, John B
As always, a "thank you" to everyone that works on Apache. Some background and resultant question ... We had made some changes in the afternoon to some virtual host configs that we intended to implement the next morning with a graceful restart of Apache. That was going to be coordinated with

[users@httpd] mod_userdir and php-fpm individual pools

2018-11-07 Thread Rose, John B
Is it possible to set mod_userdir web sites PHP processes to run as an individual pool in PHP-FPM? Ideally using Unix Domain Sockets instead of TCP. We see how to do it for virtual hosts, but have not seen how to do so for userdir sites, i.e. somedomain.com/~someuser Has anyone done this?

[users@httpd] Remove .php extension but still pass it to PHP-FPM

2018-10-02 Thread Rose, John B
We would like to strip select .php extensions within a web site but still have them passed to PHP-FPM when they are clicked on. Any help would be appreciated

[users@httpd] Apache PHP-FPM unix domain sockets questions

2018-09-20 Thread Rose, John B
After looking at the documentation on httpd.apache.org and wiki.apache.org I have a few questions ... 1. I have seen examples of both "ProxyPassMatch" and "SetHandler" used to implement Unix Domain Sockets. Which is better? 2. On the wiki page it says "Using too many sockets will ca

[users@httpd] mod_macro, unix domain sockets, php-fpm pool config files

2018-09-17 Thread Rose, John B
mod_macro and unix domain socket functionality in Apache are nice features, thanks to whomever put in the time and effort developing/maintaining. We have looked for an equivalent of Apache mod_macro for php-fpm in order avoid having to create a php-fpm pool conf for each Apache virtual host us

Re: [users@httpd] Apache Will Not Start

2018-08-28 Thread Rose, John B
Do you have a /var/run/httpd directory? Sent from my iPad On Aug 28, 2018, at 9:48 PM, Alex Nyamweya mailto:animesoni...@gmail.com>> wrote: Hi, I am running an Apache server with CentOS 7 installed. I'm having issues starting apache using the command systemctl status httpd.service as I would

Re: [users@httpd] problem when move https site to 2.4 from 2.2 Apache

2018-08-27 Thread Rose, John B
Re: [users@httpd] problem when move https site to 2.4 from 2.2 Apache With that amount of information there isn't much I can say about your loop issues. El sáb., 18 ago. 2018 a las 18:49, Rose, John B () escribió: > > For each Wordpress site ... > > > Wordpress Addre

Re: [users@httpd] problem when move https site to 2.4 from 2.2 Apache

2018-08-18 Thread Rose, John B
elevant bits of config and the queries and responses, including headers etc. El vie., 17 ago. 2018 17:28, Rose, John B mailto:jbr...@utk.edu>> escribió: Encountered problems moving web sites from Apache 2.2 to 2.4 for https When moving web sites from an Apache 2.2 environment to to 2.4 the o

[users@httpd] problem when move https site to 2.4 from 2.2 Apache

2018-08-17 Thread Rose, John B
Encountered problems moving web sites from Apache 2.2 to 2.4 for https When moving web sites from an Apache 2.2 environment to to 2.4 the ones that are .html and self written .php seem to work fine via both http and https When moving Wordpress sites to 2.4, they work fine via http, but go into

[users@httpd] access control and Apache load balancing

2018-07-30 Thread Rose, John B
Any suggestions on how to implement access control for ip address ranges to specific files on back end hosts when going thru Apache load balancer? For example, you do not want external IPs to access "filename.php" on your backend hosts thru load balancer

Re: [users@httpd] Apache load balancer, etc

2018-07-27 Thread Rose, John B
httpd.apache.org Subject: Re: [users@httpd] Apache load balancer, etc Are you using the latest Apache httpd 2.4.x? Are you using the Event MPM? Both our and independent 3rd party benchmarks show Apache as fast and, at times, even faster, than those solutions you mentioned. > On Jul 2,

Re: [users@httpd] Apache load balancer, etc

2018-07-27 Thread Rose, John B
rious myself ... Thanks Martin On Mon, Jul 2, 2018 at 7:24 PM, Rose, John B mailto:jbr...@utk.edu>> wrote: Have been comparing Apache load balancing with some other possibilities As expected can do just about anything you want with Apache but the performance testing between Apache load ba

[users@httpd] Apache load balancer, etc

2018-07-02 Thread Rose, John B
Have been comparing Apache load balancing with some other possibilities As expected can do just about anything you want with Apache but the performance testing between Apache load balancing and nginx, haproxy, lighthttpd has Apache noticeably slower. Any tips on config tuning to optimize Apa

[users@httpd] When should someone use TCP socket vs Unix socket vs Websocket for PHP execution

2018-06-08 Thread Rose, John B
If you have php-fpm running on same server as Apache, and you have a lot of virtual hosts (hundreds+) using PHP. Which is the best approach for executing PHP as the owner of each virtual host (web directory)? Looking thru this page at the moment for guidance https://httpd.apache.org/doc

[users@httpd] How to route userdir requests to different hosts?

2018-05-23 Thread Rose, John B
Looking for a way to route requests for different users to different back end hosts behind a proxy of some sort For example ... http request to ... http://abc.com/~user1 always goes to one specific host an http requests to ... http://abc.com/~user2 always goes to a another specific

[users@httpd] mod_proxy_fcgi unix domain socket syntax question on Apache documentation

2018-05-03 Thread Rose, John B
Looking at the documentation on this page ... https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html The documentation says "With this syntax, the hostname and optional port following fcgi:// are ignored." regarding this example .

[users@httpd] CPU usage in server-status and top not matching

2018-02-20 Thread Rose, John B
Hello Trying to match high %cpu httpd processes from "top" with what they are requesting and ip addresses Any suggestions? Thanks

[users@httpd] "apachectl -S" and DocumentRoot

2018-02-13 Thread Rose, John B
Hello apachectl -S is a nice command. We are looking for something that outputs the "DocumentRoot" for all virtual hosts Is there some way to do that with a single command? Thanks

Re: [users@httpd] yum update puts back removed Apache modules

2017-11-10 Thread Rose, John B
-x Regards, John = On Friday 10 November 2017 16:24:35 Rose, John B wrote: > It seems as though “yum” update has replaced Apache modules installed in > the default installation, that we had removed after the initial install &

[users@httpd] yum update puts back removed Apache modules

2017-11-10 Thread Rose, John B
It seems as though “yum” update has replaced Apache modules installed in the default installation, that we had removed after the initial install because they weren’t used. Is there some way to prevent that from happening? thanks

[users@httpd] SSLEngine on and mod_macro

2017-09-14 Thread Rose, John B
When setting “SSLEngine on” in a mod_macro config file for virtual hosts we are not able to start Apache. When it is commented out, Apache will start. On the same server “SSLEngine on” is in another self-contained virtual host config file, and also in ssl.conf. Those do not cause any problems w

Re: [users@httpd] AH00894: declining URL fcgi

2017-08-24 Thread Rose, John B
to >127.0.0.1:9000 and pass the request to the backend. > >Next time, you could share the exact related modules and directives >you have, so the context of the situation is clear. But as I see it, >it is proceeding fine choosing the appropiate module to handle the >fcgi request. &g

[users@httpd] AH00894: declining URL fcgi

2017-08-24 Thread Rose, John B
Not sure if this is our problem, but after setting log level to debug we noticed this in the error_log. Not sure how to interpret what is happening. It looks like the fcgi connection to php-fpm is being declined initially, then it is successful. But I am not sure. Is this refusing to execute the

Re: [users@httpd] Access Control in 2.4 question

2017-08-15 Thread Rose, John B
Eric Thanks for those tips, they helped us out. j On 8/9/17, 4:31 PM, "Eric Covener" wrote: >On Wed, Aug 9, 2017 at 4:19 PM, Rose, John B wrote: >> Thanks for the reply Eric. >> >> 1. Regarding "Proxied so it never hit the filesystem and never matched”

Re: [users@httpd] Access Control in 2.4 question

2017-08-09 Thread Rose, John B
rridden by section with higher precedence like Location or htaccess” is there some way to determine that besides culling thru lines of config files line by line? On 8/9/17, 3:33 PM, "Eric Covener" wrote: >On Wed, Aug 9, 2017 at 3:03 PM, Rose, John B wrote: >> If all the ne

[users@httpd] Access Control in 2.4 question

2017-08-09 Thread Rose, John B
If all the necessary modules are installed, what would prevent this from working? Require all denied

[users@httpd] Apache + virtual hosts + php-fpm?

2017-08-02 Thread Rose, John B
Looking at the php-fpm homepage … https://php-fpm.org it says this … It was not designed with virtual hosting in mind (large amounts of pools) however it can be adapted for any usage model. Are folks using Apache with numerous virtual hosts, still using mod_php as the preferred approach? With

[users@httpd] access_log and split-logfile, vlogger, something else?

2017-07-28 Thread Rose, John B
Is there a most frequently used tool for culling virtual host log files out of a single access_log file? split-logfile? vlogger? Something else? Thanks

Re: [users@httpd] memory

2017-07-03 Thread Rose, John B
We found we did not need several modules that were loaded by default. So we removed those. Using php-fpm instead of mod_php If your folks are using a cms, are they using unnecessary plugins? Sent from my iPad > On Jul 3, 2017, at 1:01 PM, Doug Maurer wrote: > > Is there a way to limit the

[users@httpd] RAM output in server-status?

2017-06-30 Thread Rose, John B
Apache 2.2.15 We have ExtendedStatus on We have to toggle to “top” to try and catch RAM per httpd process. Is there some way to output RAM per process in server-status output? Thanks

[users@httpd] forensic logs with virtual hosts

2017-06-20 Thread Rose, John B
Is there some global way to utilize mod_log_forensic with virtual hosts without having to add “ForensicLog logfilepathname” to every virtual host config?

Re: [users@httpd] adding footer to all web pages

2017-06-20 Thread Rose, John B
n the reports...there are ways around this but you should be aware of it. I believe you'll want to review the documentation for server side includes (SSI). Adam Powell http://www.adaminfinitum.com On Thu, May 25, 2017 at 9:32 PM, Rose, John B mailto:jbr...@utk.edu>> wrote: If we wante

[users@httpd] check_forensic script on Red Hat?

2017-06-19 Thread Rose, John B
Does check_forensic still exist? I am not finding it.

[users@httpd] allow deny file and multiple .conf question

2017-06-09 Thread Rose, John B
When controlling access to specific files via Allow/Deny, and not using or , and putting in different .conf files, does the order of the conf files matter? In other words … aaa-block.conf has … Order Deny,Allow Deny from All … zzz-block.conf has … Order Deny, Allow Deny from all

[users@httpd] Analog log file analyzer for Apache logs

2017-06-01 Thread Rose, John B
Has anyone used these more recent versions (C:Amie) for Apache logs? http://www.c-amie.co.uk/analog/ Comments?

[users@httpd] Server Side Includes question

2017-05-26 Thread Rose, John B
1) Is it possible to auto add a footer to all web pages on a server, including all virtual hosts sites pages, with a Server Sides Includes, without editing any of the pages? 2) Is it possible to accomplish adding a javascript to the bottom of all pages on a server, including virtu

[users@httpd] adding footer to all web pages

2017-05-25 Thread Rose, John B
If we wanted to add a Google Analytics footer to all pages on our server, meaning all virtual hosts, what is the best way to do that via Apache without having to touch the individual web sites?

Re: [users@httpd] Apache log analyzer?

2017-04-28 Thread Rose, John B
017, at 11:38 AM, Scott Birl wrote: >> >>> From: Rose, John B [mailto:jbr...@utk.edu] >>> Sent: Friday, April 28, 2017 11:18 AM >>> To: users@httpd.apache.org >>> Subject: [users@httpd] Apache log analyzer? >>> >>> Any suggestions fo

[users@httpd] Apache log analyzer?

2017-04-28 Thread Rose, John B
Any suggestions for an Apache log analyzer? Thanks

Re: [users@httpd] What is preferred PHP interface?

2017-04-18 Thread Rose, John B
What are some troubleshooting methods that utilize this config to “helps to determine when the issue is php and when the issue is Apache.” Thanks From: Daniel Reply-To: "users@httpd.apache.org" Date: Friday, April 7, 2017 at 9:18 AM To: "" Subject: Re: [users@httpd] What is preferred PHP inte

[users@httpd] Causes httpd processes spiraling out of control with memory usage?

2017-04-17 Thread Rose, John B
Are there some common causes for a single httpd process to use inordinate amounts of RAM? I have read about one person having a loop in their mod_rewrite rules. If someone hit the particular URL, the offending Rewrite rule would cause memory consumption to go out of control Thanks

[users@httpd] apache.org server-status interface

2017-04-12 Thread Rose, John B
What is the new interface on this page? http://httpd.apache.org/server-status Is all the previous interface information available?

Re: [users@httpd] ServerAlias limit and conflicts?

2017-03-20 Thread Rose, John B
ine 3. No tested that for you too got … [warn] _default_ VirtualHost overlap on port 80, the first has precedence From: Rose, John B <mailto:jbr...@utk.edu> Reply: users@httpd.apache.org<mailto:users@httpd.apache.org> <mailto:users@httpd.apache.org> Date: 16 March 2

[users@httpd] ServerAlias limit and conflicts?

2017-03-16 Thread Rose, John B
1. Is there a limit on how many “ServerAlias” lines can be in a virtual host block? 2. Is there a limit on how many hostnames can be in one “ServerAlias” line? 3. If you used “ServerAlias *.abc.com” in one virtual host conf file, would that cause any conflict with existing

Re: [users@httpd] How to calculate maxclients for Apache mpm event module?

2016-11-30 Thread Rose, John B
Are you using PHP-FPM or mod_php? From: Krunal Patel Reply-To: "users@httpd.apache.org" Date: Tuesday, November 29, 2016 at 12:25 PM To: users Subject: [users@httpd] How to calculate maxclients for Apache mpm event module? What are parameters we can tune for Apache mpm event module? Regards,

Re: [users@httpd] RE: Thread ratios

2016-11-18 Thread Rose, John B
I think that is Apache 2.4.6 If using PHP-FPM I think you may need to coordinate some settings in PHP-FPM (pm.max_children, etc.) with your config settings (MaxRequestWorkers, etc) in Apache. If you do rewrites you may want to be aware of this … https://bz.apache.org/bugzilla/show_bug.cgi?id=53

Re: [users@httpd] Question about configuring apache to use php via fpm

2016-11-03 Thread Rose, John B
You may also want to be aware of … ProxyErrorOverride In case you want to use Custom error pages from Apache when using php-fpm From: Jason Brooks Reply-To: "users@httpd.apache.org" Date: Thursday, November 3, 2016 at 3:07 PM To: "users@httpd.apache.org" Subject: Re: [users@httpd] Question ab

[users@httpd] mod_rewrite bug fix question

2016-10-31 Thread Rose, John B
It looks like this bug was fixed in Apache 2.4.9 https://bz.apache.org/bugzilla/show_bug.cgi?id=53929 Red Hat 7 latest yum repository version is Apache 2.4.6 What are the options, if any, to address this bug in Red Hat 7 utilizing the repository provided Apache Thanks for your time

[users@httpd] SSL config and virtual hosts

2016-07-11 Thread Rose, John B
Question regarding SSL settings and virtual hosts If the settings SSLProtocol, etc are set in ssl.conf and you have a virtual host(s), you still have to duplicate the desired SSL settings explicitly in the first virtual host in order for any of the virtual hosts to be configured for SSL? In

Re: [users@httpd] RE: Apache default page shows up periodically

2016-06-30 Thread Rose, John B
Single host. Sent from my iPad On Jun 30, 2016, at 5:19 PM, Darryl Philip Baker mailto:darryl.ba...@northwestern.edu>> wrote: Is this a single host or some kind of cluster? Darryl Baker From: Rose, John B [mailto:jbr...@utk.edu] Sent: June 30, 2016 1:14 PM To: users@httpd.apac

[users@httpd] Apache default page shows up periodically

2016-06-30 Thread Rose, John B
We have a group that has the default Red Hat Apache page show up occasionally instead of their regular home page. Usually their correct home page loads. The page will load properly for a couple weeks, then the default Red Hat page shows up for some users, but not all. Their site is set up as a

[users@httpd] event MPM documentation

2016-05-20 Thread Rose, John B
Looking at the event MPM and MaxRequestWorkers documentation it looks like it has been updated a bit to me. More informative. Thanks for doing that

[users@httpd] Apache::ASP question

2016-03-10 Thread Rose, John B
Some users are wanting to access a Microsoft Access database from Apache. They want to use this ... Apache::ASP Is that possible within Apache on a linux server? What are the options for accessing Access databases from Apache? Thanks

Re: [users@httpd] Apache virus scanning

2016-03-09 Thread Rose, John B
What about if your web sites allow for uploading files? Would you not want to scan those on upload before they got on your filesystem? On 3/9/16 9:49 AM, "Christopher Schultz" wrote: >John, > >On 3/8/16 6:02 PM, Rose, John B wrote: >> I am interested in both >>

Re: [users@httpd] Apache virus scanning

2016-03-08 Thread Rose, John B
I am interested in both Thanks Sent from my iPad > On Mar 8, 2016, at 3:27 PM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John > >> On 3/8/16 2:43 PM, Rose, John B wrote: >> Looking for comments on mod_clamav, an

[users@httpd] Apache virus scanning

2016-03-08 Thread Rose, John B
Looking for comments on mod_clamav, and any other alternative antivirus software for Apache on linux

[users@httpd] How to prevent upload of specific filetype in Apache

2016-03-03 Thread Rose, John B
Looking for ways to prevent upload of specific filetypes into a specific directory. PHP for example. It looks like there may be a method in mod_security Any alternative ways? Thanks

[users@httpd] mpm-itk questions

2016-02-25 Thread Rose, John B
Curious about any experience using mpm-itk. Pros and cons? Would you recommend it? Thanks Sent from my iPad - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.

Re: [users@httpd] Second apache as fallback server

2016-02-14 Thread Rose, John B
What is your preferred approach to keeping content in sync? Sent from my iPad On Feb 14, 2016, at 3:47 PM, Daniel mailto:dferra...@gmail.com>> wrote: with a reverse proxy in front of both, you use balancer setup specifying the second web server as hot standby El dom., 14 feb. 2016 a las 16:49

[users@httpd] Options for setting up Apache server cluster ...

2016-02-11 Thread Rose, John B
Looking for recommendations for a good guide for setting up an Apache web server cluster Thanks

[users@httpd] AsyncRequestWorkerFactor

2016-02-04 Thread Rose, John B
What is an example circumstance where setting "AsyncRequestWorkerFactor" to a value other the the default value of 2, would be preferred? Thanks

Re: [users@httpd] Command line method to get virtual hosts and DocumentRoot?

2016-01-28 Thread Rose, John B
Thanks Yehuda and Pete On 1/28/16 1:31 PM, "Pete Houston" wrote: >On Thu, Jan 28, 2016 at 05:03:41PM +0000, Rose, John B wrote: >> Is there a command line method to list all the virtual hosts and each >>DocumentRoot? > >Should be pretty simple to construct wi

[users@httpd] Command line method to get virtual hosts and DocumentRoot?

2016-01-28 Thread Rose, John B
Is there a command line method to list all the virtual hosts and each DocumentRoot? Httpd -S Just gives the name and the .conf file. Thanks

Re: [users@httpd] proxying content to another server

2016-01-26 Thread Rose, John B
mailto:users@httpd.apache.org>> Subject: Re: [users@httpd] proxying content to another server Try with "always" Requestheader always... El lun., 25 de ene. de 2016 19:36, Rose, John B mailto:jbr...@utk.edu>> escribió: We tried this, but does not seem to be working. We do

Re: [users@httpd] proxying content to another server

2016-01-26 Thread Rose, John B
y, January 26, 2016 6:59 AM To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" mailto:users@httpd.apache.org>> Subject: Re: [users@httpd] proxying content to another server Try with "always" Requestheader always... El lun., 25 de ene. de 2016 19:36, Rose, John B

Re: [users@httpd] proxying content to another server

2016-01-25 Thread Rose, John B
We tried this, but does not seem to be working. We do have mod_header installed and loaded Š RequestHeader set Host "www.newurl.com" Is something else required? Thanks On 1/22/16 3:50 PM, "Eric Covener" wrote: >On Fri, Jan 22, 2016 at 3:40 PM, Rose, Joh

Re: [users@httpd] proxying content to another server

2016-01-22 Thread Rose, John B
"Header always edit Location"? Not clear what that means. Just removing "ProxyPassReverse" seems to work. What should removing it impact? On 1/22/16 3:50 PM, "Eric Covener" wrote: >On Fri, Jan 22, 2016 at 3:40 PM, Rose, John B wrote: >> We fou

[users@httpd] proxying content to another server

2016-01-22 Thread Rose, John B
Is there a way to proxy content to another server via htaccess? After experimenting with this ... https://httpd.apache.org/docs/trunk/rewrite/proxy.html We found ProxyPassReverse cannot reside in an htaccess file Thanks

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-15 Thread Rose, John B
On 1/14/16 5:44 PM, "Eric Covener" wrote: >On Thu, Jan 14, 2016 at 4:28 PM, Rose, John B wrote: >> StartServers ? -> pm.start_servers = ? >> MinSpareThreads ? -> pm.min_spare_servers = ? >> MaxSpareThreads ? -> pm.max_spare_servers = ? >> MaxRe

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-14 Thread Rose, John B
?-> no PHP-FPM equivalent ThreadsPerChild ?-> no PHP-FPM equivalent MaxConnectionsPerChild ?-> no PHP-FPM equivalent On 1/14/16 3:24 PM, "Rich Bowen" wrote: > > >On 01/12/2016 04:21 PM, Rose, John B wrote: >> So for example using the default "

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
SpareThreads 250 -> pm.max_spare_servers = 250 MaxRequestWorkers 400 -> pm.max_requests = 400 I am not seeing any PHP-FPM equiv settings for ... ThreadsPerChild 25 MaxConnectionsPerChild 0 Correct? On 1/12/16 3:41 PM, "Rich Bowen" wrote: > > >On 01/12

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
Is there a guide to properly matching your apache and PHP-FPM configs? Looking here Š https://wiki.apache.org/httpd/PHP-FPM I am not seeing that information On 1/12/16 2:03 PM, "Rich Bowen" wrote: > > >On 01/12/2016 01:58 PM, Rose, John B wrote: >> Can yo

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
Can you elaborate on this a bit? "..the server pool is smaller than Apache's server pool, causing too much thrashing. (See the pm.min_spare_servers and so on)" On 1/12/16 12:20 PM, "Rich Bowen" wrote: > > >On 01/11/2016 04:51 PM, Rose, John B wrote: >>

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-12 Thread Rose, John B
g>> Subject: Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM? What is the configuration in both cases? php-fpm pool included. How did you measure? El lun., 11 ene. 2016 a las 22:52, Rose, John B (mailto:jbr...@utk.edu>>) escribió: After switching to mod_php

Re: [users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-11 Thread Rose, John B
ly only a subset of the http requests are to a php resource, the answer is almost always 'no'. On Jan 8, 2016 16:48, "Rose, John B" mailto:jbr...@utk.edu>> wrote: Apache 2.4 On the same system, same web site, are there circumstances when Apache using mod_php would run faster than Apache using PHP-FPM? Thanks

[users@httpd] Circumstances when mod_php would run faster than PHP-FPM?

2016-01-08 Thread Rose, John B
Apache 2.4 On the same system, same web site, are there circumstances when Apache using mod_php would run faster than Apache using PHP-FPM? Thanks

[users@httpd] proper MPM and mod_php

2016-01-07 Thread Rose, John B
Apache 2.4 Red Hat Linux Is using "event" MPM and mod_php ok, or should "prefork" always be used with mod_php? Thanks

Re: [users@httpd] ErrorDocument not read with fcgid

2015-12-24 Thread Rose, John B
You may want to look at ... ProxyErrorOverride On Sent from my iPad > On Dec 24, 2015, at 11:17 AM, Xavier wrote: > >> On 24/12/2015 14:12, Luca Toscano wrote: >> Hi Xavier, >> >> mod_proxy shows a similar behaviour for HTTP error status codes >> (corrected >> by https://httpd.apache.org/doc

[users@httpd] Service Unavailable - proxy_fcgi:error

2015-12-10 Thread Rose, John B
Apache 2.4 PHP-FPM It looks like we need to increase the proxy timeout before the ProxyPassMatch statement within a virtual host. If I understand correctly, if not specified, the proxy timeout is set to the TimeOut value Is one of these the preferred method? ProxyTimeOut somevalue Or ...

Re: [users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL

2015-12-03 Thread Rose, John B
re or invoking an incorrect script. WSOD: White Screen Of Death, one of PHP's specialties. It is produced when an error has occurred in a PHP script and the error reporting goes either to the error log or to nowhere. To solve it, look for the error reporting settings in php.ini (or use ini

Re: [users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL

2015-12-03 Thread Rose, John B
or use ini_set()) of fpm pool.. Look or increase logging at the errors from the php-fpm. 2015-12-03 1:24 GMT+01:00 Rose, John B mailto:jbr...@utk.edu>>: Apache 2.4 I have 2 virtual hosts .conf files. Each has a port 80 and port 443 section. The config files are identical in every way except f

Re: [users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL

2015-12-03 Thread Rose, John B
error has occurred in a PHP script and the error reporting goes either to the error log or to nowhere. To solve it, look for the error reporting settings in php.ini (or use ini_set()) of fpm pool.. Look or increase logging at the errors from the php-fpm. 2015-12-03 1:24 GMT+01:00 Rose, John B mailto

[users@httpd] Multiple SSL virtual host PHP translation not working on only one via SSL

2015-12-02 Thread Rose, John B
Apache 2.4 I have 2 virtual hosts .conf files. Each has a port 80 and port 443 section. The config files are identical in every way except for the DocumentRoot. Both use ProxyPassMatch for PHP-FPM In vhost1 I can go to http://.../ index.html and index.php successfully. If I use SSL I can go to

  1   2   3   >