Re: [users@httpd] What is the "correct way" for starting apache2 as a service in UNIX (Ubuntu)

2012-01-15 Thread Roel Wagenaar
"Ravindranath M" wrote: > Dear Apache team and other friends, > > According to official Apache documentation, the correct way to start httpd is to use apachectl. When I start this way it works. Since I am using Ubuntu, I run it with "sudo" prefix. As a result it starts with root

[users@httpd] What is the "correct way" for starting apache2 as a service in UNIX (Ubuntu)

2012-01-15 Thread Ravindranath M
Dear Apache team and other friends, According to official Apache documentation, the correct way to start httpd is to use apachectl. When I start this way it works. Since I am using Ubuntu, I run it with "sudo" prefix. As a result it starts with root user's privileges. But for another softwa

Re: [users@httpd] Re: MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Jeroen Geilman
On 01/15/2012 10:45 PM, Helmut Schneider wrote: Jeroen Geilman wrote: On 01/15/2012 08:13 PM, Helmut Schneider wrote: Jeroen Geilman wrote: On 01/15/2012 08:01 PM, Helmut Schneider wrote: Jeroen Geilman wrote: On 01/15/2012 07:31 PM, Helmut Schneider wrote: [...] So the highest value co

[users@httpd] Re: MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Helmut Schneider
Jeroen Geilman wrote: > On 01/15/2012 08:13 PM, Helmut Schneider wrote: > > Jeroen Geilman wrote: > > > > > On 01/15/2012 08:01 PM, Helmut Schneider wrote: > > > > Jeroen Geilman wrote: > > > > > > > > > On 01/15/2012 07:31 PM, Helmut Schneider wrote: > > > > [...] > > > > > > So the highest val

Re: [users@httpd] Re: MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Jeroen Geilman
On 01/15/2012 08:13 PM, Helmut Schneider wrote: Jeroen Geilman wrote: On 01/15/2012 08:01 PM, Helmut Schneider wrote: Jeroen Geilman wrote: On 01/15/2012 07:31 PM, Helmut Schneider wrote: [...] So the highest value configured is 256 (setting at server.conf.local overwrite defaults at apach

[users@httpd] Re: MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Helmut Schneider
Jeroen Geilman wrote: > On 01/15/2012 08:01 PM, Helmut Schneider wrote: > > Jeroen Geilman wrote: > > > > > On 01/15/2012 07:31 PM, Helmut Schneider wrote: > > [...] > > > > So the highest value configured is 256 (setting at > > > > server.conf.local overwrite defaults at apache2.conf). But > > >

Re: [users@httpd] Re: MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Jeroen Geilman
On 01/15/2012 08:01 PM, Helmut Schneider wrote: Jeroen Geilman wrote: On 01/15/2012 07:31 PM, Helmut Schneider wrote: [...] So the highest value configured is 256 (setting at server.conf.local overwrite defaults at apache2.conf). But /server-status shows: [...] That's 1024 slots. And yes, I

[users@httpd] Re: MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Helmut Schneider
Jeroen Geilman wrote: > On 01/15/2012 07:31 PM, Helmut Schneider wrote: [...] > > So the highest value configured is 256 (setting at server.conf.local > > overwrite defaults at apache2.conf). But /server-status shows: [...] > > That's 1024 slots. And yes, I stopped and restarted apache and even >

Re: [users@httpd] MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Jeroen Geilman
On 01/15/2012 07:31 PM, Helmut Schneider wrote: Hi, u1dd_hr@desoggw04:~$ sudo grep -ir MaxClients /etc/apache2/ /etc/apache2/apache2.conf:MaxClients 150 /etc/apache2/apache2.conf:MaxClients 150 /etc/apache2/apache2.conf:MaxClients 150 /etc/apache2/Includes/

[users@httpd] MaxClients 256 but server-status show 1024 slots

2012-01-15 Thread Helmut Schneider
Hi, u1dd_hr@desoggw04:~$ sudo grep -ir MaxClients /etc/apache2/ /etc/apache2/apache2.conf:MaxClients 150 /etc/apache2/apache2.conf:MaxClients 150 /etc/apache2/apache2.conf:MaxClients 150 /etc/apache2/Includes/server.conf.local:MaxClients 256 /etc/apac

Re: [users@httpd] How to add multiple index.html references in httpd.conf ?

2012-01-15 Thread Eric Covener
On Sun, Jan 15, 2012 at 12:07 PM, Phil Pinkerton wrote: > Exactly so how do I accomplish loading a different index.html based on a > different URL entry for the same server > > https://server1.domain.net/app1 = app1 index.html > https://server1.domain.net/app2 = app2 index.html I'm assuming app1

Re: [users@httpd] How to add multiple index.html references in httpd.conf ?

2012-01-15 Thread Phil Pinkerton
Exactly so how do I accomplish loading a different index.html based on a different URL entry for the same server https://server1.domain.net/app1 = app1 index.html https://server1.domain.net/app2 = app2 index.html ?? On Jan 15, 2012, at 11:33 AM, Eric Covener wrote: > On Sun, Jan 15, 2012 at 1

Re: [users@httpd] How to add multiple index.html references in httpd.conf ?

2012-01-15 Thread Eric Covener
On Sun, Jan 15, 2012 at 11:24 AM, Phil Pinkerton wrote: > No because just adding the path to the "otherWeb"/index.html to > DirectoryIndex line still defaults to the first index.html They're searched in order. Only one can be used.. If you just appended a value and the old value existed, the b

Re: [users@httpd] How to add multiple index.html references in httpd.conf ?

2012-01-15 Thread Phil Pinkerton
No because just adding the path to the "otherWeb"/index.html to DirectoryIndex line still defaults to the first index.html Perhaps I should rename the second index.html to otherweb.html ? not sure that's why I am asking. On Jan 15, 2012, at 11:10 AM, Eric Covener wrote: > On Sun, Jan 15, 201

Re: [users@httpd] How to add multiple index.html references in httpd.conf ?

2012-01-15 Thread Eric Covener
On Sun, Jan 15, 2012 at 11:02 AM, Phil Pinkerton wrote: > https://server.domain.net/otherapp and get the index.html in “otherWeb” Isn't this the same as the 2nd example in the manual? http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex --

[users@httpd] How to add multiple index.html references in httpd.conf ?

2012-01-15 Thread Phil Pinkerton
currently in httpd.conf the default index.html is configured : DocumentRoot “www” DirectoryIndex index.html Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all I want to add another webpage (index.html) located in “otherWeb” which is located in the same directory