Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-15 Thread Frank Gingras
You can only load one mpm module at a time. Run apachectl -M to see the loaded mpm. On Fri, Sep 15, 2023 at 6:19 PM Jason Long wrote: > Hello, > What happens if I use both modules at the same time? > > > On Fri, Sep 15, 2023 at 3:08 PM, Daniel Ferradal > wrote: > > > El vie, 15 sept 2023 a las

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-15 Thread Jason Long
Hello,What happens if I use both modules at the same time? On Fri, Sep 15, 2023 at 3:08 PM, Daniel Ferradal wrote: El vie, 15 sept 2023 a las 13:36, Daniel Ferradal () escribió: When I probably recommended  MaxSpareThreads == to MaxRequestWorkers was due to Apache httpd with third

RE: [users@httpd] realtime protection against cloud scans

2023-09-15 Thread Marc
I would even state that >80% of your server load is crap, if you don't block any ranges. Besides that you open yourself up to vulnerability checks and monitoring for domain hijacking etc. > > Does the traffic from those cloud ranges have any significant impact on > your server performance? >

Re: [users@httpd] Apache Perms for Django

2023-09-15 Thread Frank Gingras
I would take a look at: https://cwiki.apache.org/confluence/display/httpd/13PermissionDenied On Mon, Sep 4, 2023 at 2:01 AM Ahmad Bilal wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > I am in the final stage of Django deployment on Apache+mod_wsgi > however I keep getting `403

Re: [users@httpd] Inquiry about apache httpd compile option

2023-09-15 Thread Frank Gingras
What is the problem you are trying to solve here with those compile options? On Sun, Sep 10, 2023 at 5:28 AM (대학원생) 양성현 (컴퓨터공학과) wrote: > Hello, > > First of all, thank you for reading this mail. > > I send an email to this address to ask three questions about apache httpd > compilation. > >

Re: [users@httpd] realtime protection against cloud scans

2023-09-15 Thread Frank Gingras
Does the traffic from those cloud ranges have any significant impact on your server performance? On Tue, Sep 12, 2023 at 10:33 AM Marc wrote: > > Anyone having a suggestion on how to block cloud crawlers/bots? Obviously > I would like search engine bots to have access, but all the other crap I

Re: [users@httpd] where to change this "internal server error message"

2023-09-15 Thread Frank Gingras
So we're likely dealing with mod_security overriding the response. I haven't tinkered with that module in some time to give you a definitive answer. On Fri, Sep 15, 2023 at 11:49 AM Marc wrote: > > > > What is returning the 500 response here? Is php/python/perl involved? > > No, I think this

RE: [users@httpd] where to change this "internal server error message"

2023-09-15 Thread Marc
> > What is returning the 500 response here? Is php/python/perl involved? No, I think this mod_security is generating this > As for the scrapers, you are absolutely wasting your time customizing the > response. I would just return a 403, actually. I think you might be right. I did not expect

Re: [users@httpd] where to change this "internal server error message"

2023-09-15 Thread Frank Gingras
What is returning the 500 response here? Is php/python/perl involved? As for the scrapers, you are absolutely wasting your time customizing the response. I would just return a 403, actually. On Fri, Sep 15, 2023 at 11:37 AM Marc wrote: > > > See the ErrorDocument directive. > > It does not

RE: [users@httpd] where to change this "internal server error message"

2023-09-15 Thread Marc
> See the ErrorDocument directive. It does not seem to work. It looks like this config is skipped and the error is loaded directly from the httpd binary. ErrorDocument 500 /406.html > Now, why is that response not suitable? And why would you respond with a > 200 for a blocked user agent? I

Re: [users@httpd] where to change this "internal server error message"

2023-09-15 Thread Frank Gingras
See the ErrorDocument directive. Now, why is that response not suitable? And why would you respond with a 200 for a blocked user agent? On Fri, Sep 15, 2023 at 11:26 AM Marc wrote: > Where/how can I change this message? > > The server encountered an internal error or > misconfiguration and was

[users@httpd] where to change this "internal server error message"

2023-09-15 Thread Marc
Where/how can I change this message? The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at xxx to inform them of the time this error occurred, and the actions you performed just before this error. More

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-15 Thread Daniel Ferradal
El vie, 15 sept 2023 a las 13:36, Daniel Ferradal () escribió: > > When I probably recommended MaxSpareThreads == to MaxRequestWorkers was > due to Apache httpd with third party modules not restarting gracefully, > that along to MaxConnectionsPerChild 0 would prevent HTTPD from trying to >

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-15 Thread Daniel Ferradal
El vie, 15 sept 2023 a las 12:38, Mike Dewhirst () escribió: > > # After reading > https://www.liquidweb.com/kb/apache-performance-tuning-apache-mpm-modules/ > > ServerLimit 32 > StartServers16 > MinSpareThreads 400

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-15 Thread Mike Dewhirst
On 15/09/2023 8:14 pm, Jason Long wrote: Hello, Thank you so much. Can you share an ideal Apache configuration file? Something like a template. Not saying this is ideal but I went through an iterative set of confs and came to the following for a 4GB VM which seems to be OK in a lightly

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-15 Thread Jason Long
Hello,Thank you so much.Can you share an ideal Apache configuration file? Something like a template. On Fri, Sep 15, 2023 at 1:17 AM, Stormy wrote: On 2023-09-14 16:01, Jason Long wrote: > Hello, > Thanks again. > How about the other parameters? For example, how can I estimate the best

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-15 Thread Jason Long
Hello,Thanks again.So, is it better to use the following module?  StartServers 3 MinSpareThreads 75 MaxSpareThreads 250ThreadLimit 64ThreadsPerChild 25MaxRequestWorkers 400 MaxConnectionsPerChild 0  Do you know of any articles, websites, or something like a cheat sheet for quickly setting up