[users@httpd] htaccess looping

2017-09-13 Thread Marek Sloboda
Hi, I've got problem with htaccess configuration. On my site i have 3 types of access http://zeroproblem.pl -> direct to directory test2/index.php (which is file) http://zeroproblem.pl/zeroproblem -> direct to directory test2/zeroproblem (which is directory) http://zeroproblem.pl/admin -> is

Re: AW: [users@httpd] Run apache without master [wd-vc]

2017-09-13 Thread Hemant Chaudhary
As i have seen in my system that master process also binds to port that i have given in my configuration. Then how master process is binding to port 80 ? If i am running my apache other than root user then how can master binds to port 80 ? If i am running apache as root user then on any port my

Re: [users@httpd] Run apache without master [wd-vc]

2017-09-13 Thread Eric Covener
On Wed, Sep 13, 2017 at 8:03 AM, Hemant Chaudhary wrote: > Yes true. I want to start only one process and it should not spawn child > processes. > In apache, we have master process and then it spawns child. After that child > serves requests by client. > My aim is

AW: [users@httpd] Run apache without master [wd-vc]

2017-09-13 Thread Bremser, Kurt (Allianz Technology GmbH)
Spawning children servers one very important purpose: while the master has to be run as root to bind to the privileged port 80, the child is spawned as the user named in the configuration, reducing security issues by orders of magnitude. Changing that and running the whole server process

Re: [users@httpd] Question about apache2.4, prefork and mod_perl

2017-09-13 Thread Norbert
On 09/13/17 14:05, Yann Ylavic wrote: Hi Norbert, can we keep the users@ mailing list CC-ed on this since it may be relevant for others too? Moreover people with a better knowledge of mod_perl than me could chime in... On Wed, Sep 13, 2017 at 1:33 PM, Norbert

Re: [users@httpd] Question about apache2.4, prefork and mod_perl

2017-09-13 Thread Yann Ylavic
Hi Norbert, can we keep the users@ mailing list CC-ed on this since it may be relevant for others too? Moreover people with a better knowledge of mod_perl than me could chime in... On Wed, Sep 13, 2017 at 1:33 PM, Norbert wrote: > > thanks - but it does not help - The

Re: [users@httpd] Run apache without master [wd-vc]

2017-09-13 Thread Hemant Chaudhary
Yes true. I want to start only one process and it should not spawn child processes. In apache, we have master process and then it spawns child. After that child serves requests by client. My aim is to start master process and it should not spawn child as well as it should serve requests from

AW: [users@httpd] Run apache without master [wd-vc]

2017-09-13 Thread Bremser, Kurt (Allianz Technology GmbH)
In most cases, you can only have ONE process binding to ONE IP-address/port combination. Children of this process will then inherit the socket, which is the way how apache works. On Linux and BSD, there is the SO_REUSEPORT option that can be set by a listening process, so that other processes

Re: [users@httpd] Run apache without master

2017-09-13 Thread Hemant Chaudhary
Hi I want to create different processes not forking from parent or anywhere. It is still okay if parent process is started and parent process will not fork child processes but parent should serve requests. On Sep 13, 2017 4:47 PM, "Eric Covener" wrote: > On Wed, Sep 13, 2017

Re: [users@httpd] Run apache without master

2017-09-13 Thread Eric Covener
On Wed, Sep 13, 2017 at 7:09 AM, Hemant Chaudhary wrote: > Hi, > > I want to start my apache without master process means when I will give > "httpd" command, it should start 5 worker process which has access to > httpd.conf as well as serve requests. > > Is it

[users@httpd] Run apache without master

2017-09-13 Thread Hemant Chaudhary
Hi, I want to start my apache without master process means when I will give "httpd" command, it should start 5 worker process which has access to httpd.conf as well as serve requests. Is it possible to achieve this ? If yes, then how should to achieve this ? Thanks hemant

Re: [users@httpd] Question about apache2.4, prefork and mod_perl

2017-09-13 Thread Yann Ylavic
On Wed, Sep 13, 2017 at 10:10 AM, Norbert wrote: > Thanks, I set (on my testmachine): > > > MinSpareServers 4 > MaxSpareServers 4 > MaxConnectionsPerChild 10 > > > but nothing changes - the httpd processes with user www:www appear and > disappear in

[users@httpd] mod_evasive whitelist question

2017-09-13 Thread Matthew Jones
Hi all I'm trying to whitelist 10.* addresses so that they¹re not caught by mod_evasive. I¹ve added the 10.*.*.* range to a DOS whitelist directive in evasive.conf but it¹s still blocking various 10.* IPs. Here¹re the contents of evasive.conf: DOSHashTableSize9239 DOSPageCount

Re: [users@httpd] Question about apache2.4, prefork and mod_perl

2017-09-13 Thread Yann Ylavic
On Wed, Sep 13, 2017 at 9:56 AM, Yann Ylavic wrote: > > Please have a look at http://httpd.apache.org/docs/2.4/fr/mod/prefork.html. Sorry, http://httpd.apache.org/docs/2.4/mod/prefork.html or http://httpd.apache.org/docs/2.4/de/mod/prefork.html might be more appropriate...

Re: [users@httpd] Question about apache2.4, prefork and mod_perl

2017-09-13 Thread Yann Ylavic
Hi, On Wed, Sep 13, 2017 at 9:11 AM, Norbert wrote: > > So: I am running apache 2.4 (on FreeBSD 11), use mod_perl and prefork. When > the server starts it creates several httpd processes all running under root. > This is ok. When a request arrives it creates

[users@httpd] Question about apache2.4, prefork and mod_perl

2017-09-13 Thread Norbert
Hello, I hope this request is not stupid, but I did not find anything which gives me an answer... So: I am running apache 2.4 (on FreeBSD 11), use mod_perl and prefork. When the server starts it creates several httpd processes all running under root. This is ok. When a request arrives it