Re: Unzulässiger Zugriff auf einen Speicherbereich

2007-06-04 Thread James Blond

Hallo!
Es hilft wenn Du die libmysql.dll vom mysql\bin nach apache\bin kopierst,
damit er die richtige nimmt!
Aus C:\Windows\ kannst Du die getrost wieder löschen.

Du könntest anstelle von kopieren, aber auch sagen, welche DLL er laden soll.

Also bevor Du PHP lädst.


LoadFile   C:/mysql/bin/libmysql.dll
LoadModule php5_module .   ..

Gruß
Mario


On 6/2/07, Jan Bro [EMAIL PROTECTED] wrote:

Hallo Bjoern,

danke für Deine schnelle Antwort
meine Ergänzungen folgen:

- Original Message -
From: Bjoern Hoehrmann
To: users-de@httpd.apache.org
Subject: Re: Unzulässiger Zugriff auf einen Speicherbereich
Date: Sat, 02 Jun 2007 22:28:20 +0200


* Jan Bro wrote:
 Aber die Verbindung PHP mit MySQL läuft nicht (jedes für sich läuft).
 Im Apache Log steht Unzulässiger Zugriff auf einen Speicherbereich.
Du musst schon mehr darüber sagen.
Ok, mach ich gern, die wesentlichen Infos habe ich denke ich schon gegeben.
Wann genau passiert das?  Was genau steht in dem logs?
bei jedem Start / Restart des Apache fügt er der Log-File folgendes hinzu
PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:\\Programmierung\\php\\ext\\php_mysqli.dll' - Unzul\xe4ssiger Zugriff auf 
einen Speicherbereich.\r\n in Unknown on line 0
Wie hast du die Software über die Standardein-
stellungen konfiguriert? Die Fehlermeldung suggeriert dass eine der
Anwendungen etwas tut, das schlicht falsch ist; das kann im Prinzip
nur passieren wenn die Anwendung fehlerhaft programmiert wurde. Es ist
natürlich auch nicht auszuschliessen das z.B. ein Virus das Verhalten
der Anwendung beeinflusst. Aber mit ner halben Zeile Fehlerbeschreibung
kann man da nicht viel zu sagen.
hier noch die veränderten Zeilen der PHP.ini
extension_dir = C:\Programmierung\php\ext
[...]
;extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll

Die PHP.ini ist im Windows Verzeichnis ebenso die libmySQL.dll die 
php_mysqli.dll ist korrekt im Extension Verzeichnis.
Ich mach das auch nicht das erste Mal.

Das System ist 48h alt. Virus ist auszuschließen.

Gruß
Jan

=


--
Apache HTTP Server Mailing List users-de
  unsubscribe-Anfragen an [EMAIL PROTECTED]
   sonstige Anfragen an [EMAIL PROTECTED]
--




--
   Apache HTTP Server Mailing List users-de
 unsubscribe-Anfragen an [EMAIL PROTECTED]
  sonstige Anfragen an [EMAIL PROTECTED]
--



Re: Unzulässiger Zugriff auf einen Speicherbereich

2007-06-04 Thread Jan Bro
Vielen Dank für den Tipp.
Heute Nachmittag hatte ich eine ähnliche Idee und sämtliche dll's und ini's aus 
Windows entfernt.
Siehe da, es ging!
Ergo: Es sieht so aus, als ob mit SP2 WinXP die Ausführung bzw. das Ansprechen 
innerhalb des Windows Baums unterbindet.
Auf meinem Alt-System war das vermutlich kein Problem, da dort SP2 erst 
nachträglich installiert wurde.

Gruß aus dem Odenwald
- Original Message -
From: James Blond 
To: users-de@httpd.apache.org
Subject: Re: Unzulässiger Zugriff auf einen Speicherbereich
Date: Mon, 4 Jun 2007 15:53:44 +0200


Hallo!
Es hilft wenn Du die libmysql.dll vom mysql\bin nach apache\bin kopierst,
damit er die richtige nimmt!
Aus C:\Windows\ kannst Du die getrost wieder löschen.

Du könntest anstelle von kopieren, aber auch sagen, welche DLL er laden soll.

Also bevor Du PHP lädst.


LoadFile   C:/mysql/bin/libmysql.dll
LoadModule php5_module .   ..

Gruß
Mario


On 6/2/07, Jan Bro  wrote:
 Hallo Bjoern,

 danke für Deine schnelle Antwort
 meine Ergänzungen folgen:

 - Original Message -
 From: Bjoern Hoehrmann
 To: users-de@httpd.apache.org
 Subject: Re: Unzulässiger Zugriff auf einen Speicherbereich
 Date: Sat, 02 Jun 2007 22:28:20 +0200


 * Jan Bro wrote:
  Aber die Verbindung PHP mit MySQL läuft nicht (jedes für sich läuft).
  Im Apache Log steht Unzulässiger Zugriff auf einen Speicherbereich.
 Du musst schon mehr darüber sagen.
 Ok, mach ich gern, die wesentlichen Infos habe ich denke ich schon gegeben.
 Wann genau passiert das?  Was genau steht in dem logs?
 bei jedem Start / Restart des Apache fügt er der Log-File folgendes hinzu
 PHP Warning:  PHP Startup: Unable to load dynamic library 
 'C:\\Programmierung\\php\\ext\\php_mysqli.dll' - Unzul\xe4ssiger 
 Zugriff auf einen Speicherbereich.\r\n in Unknown on line 0
 Wie hast du die Software über die Standardein-
 stellungen konfiguriert? Die Fehlermeldung suggeriert dass eine der
 Anwendungen etwas tut, das schlicht falsch ist; das kann im Prinzip
 nur passieren wenn die Anwendung fehlerhaft programmiert wurde. Es ist
 natürlich auch nicht auszuschliessen das z.B. ein Virus das Verhalten
 der Anwendung beeinflusst. Aber mit ner halben Zeile Fehlerbeschreibung
 kann man da nicht viel zu sagen.
 hier noch die veränderten Zeilen der PHP.ini
 extension_dir = C:\Programmierung\php\ext
 [...]
 ;extension=php_mysql.dll
 extension=php_mysqli.dll
 ;extension=php_oci8.dll

 Die PHP.ini ist im Windows Verzeichnis ebenso die libmySQL.dll 
 die php_mysqli.dll ist korrekt im Extension Verzeichnis.
 Ich mach das auch nicht das erste Mal.

 Das System ist 48h alt. Virus ist auszuschließen.

 Gruß
 Jan

 =


 --
 Apache HTTP Server Mailing List users-de
   unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
 --



--
Apache HTTP Server Mailing List users-de
  unsubscribe-Anfragen an [EMAIL PROTECTED]
   sonstige Anfragen an [EMAIL PROTECTED]
--


=


--
Apache HTTP Server Mailing List users-de
  unsubscribe-Anfragen an [EMAIL PROTECTED]
   sonstige Anfragen an [EMAIL PROTECTED]
--



Re: Unzulässiger Zugriff auf einen Speicherbereich

2007-06-04 Thread Jan Bro
Vielen Dank für den Tipp.
Heute Nachmittag hatte ich eine ähnliche Idee und sämtliche dll's und ini's aus 
Windows entfernt.
Siehe da, es ging!
Ergo: Es sieht so aus, als ob mit SP2 WinXP die Ausführung bzw. das Ansprechen 
innerhalb des Windows Baums unterbindet.
Auf meinem Alt-System war das vermutlich kein Problem, da dort SP2 erst 
nachträglich installiert wurde.

Gruß aus dem Odenwald

- Original Message -
From: James Blond 
To: users-de@httpd.apache.org
Subject: Re: Unzulässiger Zugriff auf einen Speicherbereich
Date: Mon, 4 Jun 2007 15:53:44 +0200


Hallo!
Es hilft wenn Du die libmysql.dll vom mysql\bin nach apache\bin kopierst,
damit er die richtige nimmt!
Aus C:\Windows\ kannst Du die getrost wieder löschen.

Du könntest anstelle von kopieren, aber auch sagen, welche DLL er laden soll.

Also bevor Du PHP lädst.


LoadFile   C:/mysql/bin/libmysql.dll
LoadModule php5_module .   ..

Gruß
Mario


On 6/2/07, Jan Bro  wrote:
 Hallo Bjoern,

 danke für Deine schnelle Antwort
 meine Ergänzungen folgen:

 - Original Message -
 From: Bjoern Hoehrmann
 To: users-de@httpd.apache.org
 Subject: Re: Unzulässiger Zugriff auf einen Speicherbereich
 Date: Sat, 02 Jun 2007 22:28:20 +0200


 * Jan Bro wrote:
  Aber die Verbindung PHP mit MySQL läuft nicht (jedes für sich läuft).
  Im Apache Log steht Unzulässiger Zugriff auf einen Speicherbereich.
 Du musst schon mehr darüber sagen.
 Ok, mach ich gern, die wesentlichen Infos habe ich denke ich schon gegeben.
 Wann genau passiert das?  Was genau steht in dem logs?
 bei jedem Start / Restart des Apache fügt er der Log-File folgendes hinzu
 PHP Warning:  PHP Startup: Unable to load dynamic library 
 'C:\\Programmierung\\php\\ext\\php_mysqli.dll' - Unzul\xe4ssiger 
 Zugriff auf einen Speicherbereich.\r\n in Unknown on line 0
 Wie hast du die Software über die Standardein-
 stellungen konfiguriert? Die Fehlermeldung suggeriert dass eine der
 Anwendungen etwas tut, das schlicht falsch ist; das kann im Prinzip
 nur passieren wenn die Anwendung fehlerhaft programmiert wurde. Es ist
 natürlich auch nicht auszuschliessen das z.B. ein Virus das Verhalten
 der Anwendung beeinflusst. Aber mit ner halben Zeile Fehlerbeschreibung
 kann man da nicht viel zu sagen.
 hier noch die veränderten Zeilen der PHP.ini
 extension_dir = C:\Programmierung\php\ext
 [...]
 ;extension=php_mysql.dll
 extension=php_mysqli.dll
 ;extension=php_oci8.dll

 Die PHP.ini ist im Windows Verzeichnis ebenso die libmySQL.dll 
 die php_mysqli.dll ist korrekt im Extension Verzeichnis.
 Ich mach das auch nicht das erste Mal.

 Das System ist 48h alt. Virus ist auszuschließen.

 Gruß
 Jan

 =


 --
 Apache HTTP Server Mailing List users-de
   unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
 --



--
Apache HTTP Server Mailing List users-de
  unsubscribe-Anfragen an [EMAIL PROTECTED]
   sonstige Anfragen an [EMAIL PROTECTED]
--


=


--
Apache HTTP Server Mailing List users-de
  unsubscribe-Anfragen an [EMAIL PROTECTED]
   sonstige Anfragen an [EMAIL PROTECTED]
--



[EMAIL PROTECTED] apache+ssl config

2007-06-04 Thread Tom Allison
OK, at one point in my life I had something working for a very brief period that 
looked like https.

Unfortunately after a few days... it stopped.  Never got it working again...

So I'm trying to get sane directions working and I'm pretty hosed... apache will 
start but https doesn't respond.  This seems fairly common.


[Sat Jun 02 22:09:55 2007] [info] Init: Seeding PRNG with 0 bytes of entropy
[Sat Jun 02 22:09:55 2007] [info] Init: Generating temporary RSA private keys 
(512/1024 bits)
[Sat Jun 02 22:09:55 2007] [info] Init: Generating temporary DH parameters 
(512/1024 bits)
[Sat Jun 02 22:09:55 2007] [warn] Init: Session Cache is not configured [hint: 
SSLSessionCache]

[Sat Jun 02 22:09:55 2007] [info] Init: Initializing (virtual) servers for SSL
[Sat Jun 02 22:09:55 2007] [info] Server: Apache/2.2.3, Interface: 
mod_ssl/2.2.3, Library: OpenSSL/0.9.8c
[Sat Jun 02 22:09:55 2007] [notice] suEXEC mechanism enabled (wrapper: 
/usr/lib/apache2/suexec)

[Sat Jun 02 22:09:55 2007] [info] mod_fcgid: Process manager 16591 started
[Sat Jun 02 22:09:55 2007] [info] Init: Seeding PRNG with 0 bytes of entropy
[Sat Jun 02 22:09:55 2007] [info] Init: Generating temporary RSA private keys 
(512/1024 bits)
[Sat Jun 02 22:09:55 2007] [info] Init: Generating temporary DH parameters 
(512/1024 bits)

[Sat Jun 02 22:09:55 2007] [info] Init: Initializing (virtual) servers for SSL
[Sat Jun 02 22:09:55 2007] [info] Server: Apache/2.2.3, Interface: 
mod_ssl/2.2.3, Library: OpenSSL/0.9.8c
[Sat Jun 02 22:09:55 2007] [notice] Apache/2.2.3 (Debian) mod_ssl/2.2.3 
OpenSSL/0.9.8c configured -- resuming normal operations

[Sat Jun 02 22:09:55 2007] [info] Server built: Mar 27 2007 14:54:26


The response from Firefox is some error called has sent an incorrect or 
unexpected message. Error Code -12263


I have Directives in apache.conf for:
Listen 443

Directives in ssl.conf
IfModule mod_ssl.c
#  added by me.
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/host.cert
SSLCertificateKeyFile /etc/apache2/ssl/host.key
NOTE: I also have SsLSessionCache called out even though the logs say I don't. 
It's the debian default so I'm kind of wtf? on this one.


Now, I have about 100 questions that I've been searching for all night long.
I'm either hitting the wrong keywords or just can't find anything.


First.  If I want to have both SSL and non-SSL Virtual Hosts:  It is my 
understanding that I can only have one HTTPS host but many HTTP hosts (chicken 
and egg).
For the most part, this is fine.  I'm primarily looking at a http+https host and 
perhaps smaller (static) http sites.


It's fairly obvious to me that I don't have any clue where to put the 
SSLEngine/SSLCertificate* directives becuase they just don't act like they are 
being considered at all.


So I'm asking if someone has some concise information on how this can be 
done

I assume that no matter what I want to do I have to leave the 'Listen 443' 
directive in Section 1 of apache.conf.

true/false?

I suspect that the SSL Directives I want to use have to be entered into a 
VirtualHost Directive like:


VirtualHost *:443/
  SSLEngine on
  SSLCertificateFile ...
  SSLCertificateKeyFile ...
  /// And other stuff there with directories and cgi-bin directories...
/VirtualHost

And so I have to write a *lot* of stuff for the HTTPS stuff to work.
Seems that for just about every directive out there (cgi, fcgi, ...) I have to 
darn near copy and repeat for HTTPS.
This seems incorrect because it's repetative, lengthy, and does nothing to 
restrict sections to only HTTPS.
I haven't any idea how to make certain areas HTTP only and others HTTPS only but 
it's probably related to SSLRequire.
Unfortunately, since I have no SSL working at all my ability to investigate this 
is slightly limited.. ;)


So, what's a good practice for doing this kind of stuff.
Am I even close?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Mod_rewrite syntax

2007-06-04 Thread Boyle Owen
 -Original Message-
 From: Dustin Schuemann [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, June 03, 2007 3:59 PM
 To: users@httpd.apache.org
 Subject: [EMAIL PROTECTED] Mod_rewrite syntax
 
 I just want to redirect people that go to 
 http://smallgroup.lausanne.org to 
 https://www.surveymonkey.com/s.aspx?sm=qgyWxi2%2fyXBXcqC4Hm6PR
 g%3d%3d with mod_rewrite. What is the syntax for this.

Luckily, there is excellent documentation to help you in your work:

http://httpd.apache.org/docs/2.2/misc/rewriteguide.html

If, when you've read and digested the docs and tried out a few things,
you still can't get it working as you desire, post back with
descriptions of what you tried, what went wrong, extracts from the
rewrite log, and so on...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

 
 
 
 
 
 
 
 Dustin Schuemann
 
 Network Engineer/Lead Programmer 
 
 
 
 
 O: 616.235.0725
 F: 616.235.0784
 
  
 
 [EMAIL PROTECTED]
 
  
 
 AMS/The Support Dept.
 549 Ottawa Ave N.W.
 Suite 103
 Grand Rapids, Michigan 49503
 
 
 

 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Memory leak in Apache?

2007-06-04 Thread Arnab Ganguly

Hi All,
I was referring to http://httpd.apache.org/docs/2.0/misc/perf-tuning.html and
the below paragraph is a snippet from the given url
I am not clear about the which memory leaks it is referring.I have
highlighted that part.

Related to process creation is process death induced by the
MaxRequestsPerChildhttp://httpd.apache.org/docs/2.0/mod/mpm_common.html#maxrequestsperchildsetting.
By default this is
0, which means that there is no limit to the number of requests handled per
child. If your configuration currently has this set to some very low number,
such as 30, you may want to bump this up significantly. If you are running
SunOS or an old version of Solaris, limit this to 1 or so because of
memory leaks.

Can somebody explain me the above memory leaks?Is it fixed in the
Apache2.2onwards release, also in case of Linux OS do we need to
follow the same
procedure as that of SunOS for the param MaxRequestPerChild.

Thanks in advance.
-A


[EMAIL PROTECTED] tuning mod_rewrite

2007-06-04 Thread Feris Thia

Hi All,

I have a .htaccess file which is working perfectly for redirecting root (/)
pages to be searched to a subfolder. The rule is below ...

=
RewriteEngine on

RewriteCond %{REQUEST_URI} ^/(profile|images)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /$1/ [L,R]

RewriteCond %{REQUEST_URI} !^/mydomainnet/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /mydomainnet/$1

RewriteCond %{HTTP_HOST} ^(www.)?mydomain.net$
RewriteRule ^(/)?$ mydomainnet/index.html [L]

=

So.. .when I type mydomain.net it will search into mydomainnet folder. But
the problem is, when I type mydomain.net/mydomainnet/ .. It still function
as when I just type mydomain.net . How can I abstracting the mydomainnet
subfolder, so that when I go to mydomain.net/mydomainnet/ it will go to an
error page ?

Thanks,

Feris


Re: [EMAIL PROTECTED] Access problem with https port

2007-06-04 Thread David Blanco
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

renu tiwari escribió:

   I am able to access the webserver page with HTTP port but am not able to 
 access with  HTTPS port.
   ...
   Is that becoz Apache 2.2.3 is already installed on this machine , there 
 could be any conflict?

How did you started the httpd daemon? (/path/to/apachectl startssl
could do the trick)

Is the https port being used by another application? (netstat -pan
|grep 443 will answer that)

Hope this helps...


Greetings from Spain!

- --
David Blanco - Programación y sistemas
Publicinet (Publicidad-Cine-Internet, S.L.)
Urzaiz, 71, entlo, izda. -- 36204 Vigo
Telf 902.014.606 -- http://www.publicinet.net


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFGY8xJdbgIy1SiWTARAnr4AJ4xurzroRNkZPJ6fRXaiUtsgfZZGACdFIic
fAPJShLhkAUvsBJefaroTXc=
=S0ZF
-END PGP SIGNATURE-

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Krist van Besien

On 6/3/07, Arnab Ganguly [EMAIL PROTECTED] wrote:

Hi All,
I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the
following configuration.

StartServers 1
ServerLimit 1
MaxClient 128
MaxSpareThreads 128
MinSpareThreads 1
ThreadsPerChild 128
MaxRequestPerChild 0

My requirement is to handle all the request by single process and want this
process to be active through out.Issue I get is that after Apache runs for
a longer time, one new process is launched apart from the active process
which was handling all the request.

I am not sure as why this new process is getting launched although I kept
ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is
creating the problem, as due to overload one more process is getting
launched or any particular module is responsible for the above?What to do to
prevent this?


With Startservers 1 there will be two processes. A main process, and
one child. IF this is what you are seeing there is nothing peculiar
going on.

BTW, why is it that you don't want more than one process?

Krist

--
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] mod_rewrite problem

2007-06-04 Thread José Ramón López

Hi List!

I am trying to configure a rule with mod_rewrite, which allow me to change
the value of one script parameter.

I want the script to foward me to an error page when introducing
service=wfs  in the request

The sevice=wfs parameter can be in all positions
This is my line:
RewriteRule ^/cgi-bin/wms\?(.*)service=wfs$ /error.html
Is it correct?
If i put the line as follows, it works perfectly:

RewriteRule ^/cgi-bin/wms\? /error.html

But when I add the service parameter, it executes the script and it does not
forward me to that page, (I mean as follow:)
RewriteRule ^/cgi-bin/wms\?service=wfs /error.html

Thank you very much.


Re: [EMAIL PROTECTED] mod_rewrite problem

2007-06-04 Thread Krist van Besien

On 6/4/07, José Ramón López [EMAIL PROTECTED] wrote:

Hi List!

 I am trying to configure a rule with mod_rewrite, which allow me to change
the value of one script parameter.

 I want the script to foward me to an error page when introducing
service=wfs  in the request

 The sevice=wfs parameter can be in all positions
 This is my line:
 RewriteRule ^/cgi-bin/wms\?(.*)service=wfs$ /error.html
 Is it correct?
 If i put the line as follows, it works perfectly:

 RewriteRule ^/cgi-bin/wms\? /error.html

 But when I add the service parameter, it executes the script and it does
not forward me to that page, (I mean as follow:)
 RewriteRule ^/cgi-bin/wms\?service=wfs /error.html


RewriteRule doesn't match against the query string. You will need to
use a RewriteCond for this.
something like this:

RewriteCond %{QUERY_STRING}^service=wfs$
RewriteRule ^/cgi-bin/wms$ /error.html

Krist

--
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Memory leak in Apache?

2007-06-04 Thread Joshua Slive

On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote:

Hi All,
I was referring to
http://httpd.apache.org/docs/2.0/misc/perf-tuning.html and
the below paragraph is a snippet from the given url
I am not clear about the which memory leaks it is referring.I have
highlighted that part.

Related to process creation is process death induced by the
MaxRequestsPerChild setting. By default this is 0, which means that there is
no limit to the number of requests handled per child. If your configuration
currently has this set to some very low number, such as 30, you may want to
bump this up significantly. If you are running SunOS or an old version of
Solaris, limit this to 1 or so because of memory leaks.

Can somebody explain me the above memory leaks?Is it fixed in the Apache2.2
onwards release, also in case of Linux OS do we need to follow the same
procedure as that of SunOS for the param MaxRequestPerChild.


It can't be fixed in an apache version because it is a bug in the OS
libraries, not in apache.

There are no known memory leaks in apache, but if you are using leaky
libraries (via php, mod_perl, etc) or your OS has leaks in its base
libraries, then over time apache may use more an more memory. By
flushing the processes every now and then, this problem is mitigated.

I believe that you won't see the OS leak problem on any modern OS
(including Linux) so you can leave MaxRequestsPerChild at 0. If you
find that memory usage is increasing without bound (perhaps because of
some third-party library) then you can always go back and reset it.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] ApacheConf 6.0

2007-06-04 Thread Luis Moreira (ESI-GSQP)
Software advertisement by a third party on a list ?
Isn't this a little spamish ??




-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] mod_rewrite and authentication

2007-06-04 Thread Chris Tankersley
I've got a section of the website that I want only .htaccess 
authenticated users to be able to access, but I also want to push them 
to https://domain.name if they accidentally type in http://domain.name. 
If I throw both rules into my .htaccess I'm prompted to authenticate, 
then mod_rewrite fires, and then I have to authenticate again.


Is there a way I can tell apache to do the mod_rewrite first, then 
authenticate?


Apache 1.3.29 on OpenBSD 4.1

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Outgoing filter ends in oom

2007-06-04 Thread Joshua Slive

On 6/3/07, Cryptronic [EMAIL PROTECTED] wrote:

HI all,

I have a problem concerning the outgoing filter of apache 2.2.3 with mpm
worker from the debian repository.

the problem is the following:

when included a output filter, perl or c based, i get sometimes the
situation that a single apache process allocates all available memory
and swap. This ends in a oom situation.

I tried using a different mpm: prefork, but there is the problem that
the allocation process happens more often. With worker it happens 1 time
in 4-7 days.

I also tried limiting the allocation of memory by using the following
global configuration settings:

RLimitMEM 1 2
RLimitCPU 90 120
MaxMemFree 50



The RLimit stuff affects on child processes of the apache worker
processes (like CGI scripts, for example).

You should direct your question to the module developers list:
http://httpd.apache.org/lists.html#modules-dev

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] auth LDAP issue, help

2007-06-04 Thread Tony Guadagno
Hi,
  I am trying to get ldap auth working, what am i doing wrong?

this is my config
Directory d:/websites/ldaptest
AuthType basic
AuthBasicProvider ldap
AuthName LdapTest
AuthLDAPURL ldap://ldap.com/o=somewhere?cn?sub
AuthLDAPBindDN cn=admin,o=somewhere
AuthLDAPBindPassword pw
AllowOverride None
Order allow,deny
Allow from 172.30
Allow from 10.1
require valid-user
/Directory

when i hit the url, i am asked to login, when i do, it asks me again.  it fails 
after 3 times and here is what is in the apache log

[Wed May 30 22:25:19 2007] [warn] [client 10.1.1.4] [2692] auth_ldap 
authenticate: user  authentication failed; URI / [ldap_search_ext_s() for user 
failed][Filter Error]

here is what the ldap server  (Novell Netware 6.5sp6) see's:



New cleartext connection 0x560b9c40 from 172.30.0.20:1998, monitor = 0x131, 
index = 2
DoBind on connection 0x560b9c40
Bind name:cn=admin,o=somewhere, version:3, authentication:simple
Sending operation result 0:: to connection 0x560b9c40
Operation 0x1:0x60 on connection 0x560b9c40 completed in 0 seconds
DoSearch on connection 0x560b9c40
Search request:
base: o=somewhere
scope:2  dereference:3  sizelimit:-1  timelimit:0  attrsonly:0
filter: ((objectclass=*)(cn=tonyg))
attribute: cn
Sending search result entry cn=TonyG,o=somewhere to connection 0x560b9c40
Sending operation result 0:: to connection 0x560b9c40
Operation 0x2:0x63 on connection 0x560b9c40 completed in 0 seconds
DoBind on connection 0x560b9c40
Bind name:cn=TonyG,o=somewhere, version:3, authentication:simple
Sending operation result 0:: to connection 0x560b9c40
Operation 0x3:0x60 on connection 0x560b9c40 completed in 0 seconds


***
Tony Guadagno
Guadagno Consulting
[EMAIL PROTECTED] 
585.703.6700
***

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Tony Guadagno
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Guadagno;Tony
END:VCARD


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Arnab Ganguly

With Startservers 1 there will be two processes. A main process, and
one child. IF this is what you are seeing there is nothing peculiar
going on.

I know there would be two process one root and other daemon.I am worried
about the one more extra daemon which is getting launched.

BTW, why is it that you don't want more than one process?
My requirement is like that
Thanks
-A


Krist


On 6/4/07, Krist van Besien [EMAIL PROTECTED] wrote:


On 6/3/07, Arnab Ganguly [EMAIL PROTECTED] wrote:
 Hi All,
 I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the
 following configuration.

 StartServers 1
 ServerLimit 1
 MaxClient 128
 MaxSpareThreads 128
 MinSpareThreads 1
 ThreadsPerChild 128
 MaxRequestPerChild 0

 My requirement is to handle all the request by single process and want
this
 process to be active through out.Issue I get is that after Apache runs
for
 a longer time, one new process is launched apart from the active process
 which was handling all the request.

 I am not sure as why this new process is getting launched although I
kept
 ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is
 creating the problem, as due to overload one more process is getting
 launched or any particular module is responsible for the above?What to
do to
 prevent this?


--
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [EMAIL PROTECTED] mod_rewrite and authentication

2007-06-04 Thread Chris Tankersley

Joshua Slive wrote:

On 6/4/07, Chris Tankersley [EMAIL PROTECTED] wrote:

I've got a section of the website that I want only .htaccess
authenticated users to be able to access, but I also want to push them
to https://domain.name if they accidentally type in http://domain.name.
If I throw both rules into my .htaccess I'm prompted to authenticate,
then mod_rewrite fires, and then I have to authenticate again.

Is there a way I can tell apache to do the mod_rewrite first, then
authenticate?

Apache 1.3.29 on OpenBSD 4.1


All bets are off when you use those old hacked-up openbsd apache
versions. You're often better off asking on an openbsd list.

But the first question to ask is: do you really need to use .htaccess?
If at all possible, you should put your directives in httpd.conf. Then
the problem is solved simply by putting the auth directives inside the
SSL VirtualHost and the redirect inside the non-ssl VirtualHost.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server 
Project.

See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Yeah, I know, but it's what I have to work with.

Moving the directives from .htaccess and splitting them into the right 
VirtualHost directives did the trick. Thanks!


Chris

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Changeing the default web site

2007-06-04 Thread David Segall



Krist van Besien wrote:

On 6/4/07, David Segall [EMAIL PROTECTED] wrote:

I would like to add my personal web site as the default to a server that
already has a default web site. The existing default web site is MythTV
www.mythtv.org and I don't want to make any changes to it because I am
frightened I will have to change the MythTV application.


I'm a bit confused here. You are the webmaster of MythTV.org? And how
do you expect a webserver to have two default sites?
I'm sorry, I expressed that very badly. I am running the MythTV's 
MythWeb _application_. It provides web access to _my_ MythTV server.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Joshua Slive

On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote:

With Startservers 1 there will be two processes. A main process, and
one child. IF this is what you are seeing there is nothing peculiar
going on.

I know there would be two process one root and other daemon.I am worried
about the one more extra daemon which is getting launched.

BTW, why is it that you don't want more than one process?
My requirement is like that


The less details you provide, the less help you're going to get.

Another process that you may see with worker is the mod_cgid daemon
process that is used to launch cgi scripts. Are you accounting for
that?

Have you used mod_status to see what the processes are doing?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Arnab Ganguly

Hi All,
I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the
following configuration.

StartServers 1
ServerLimit 1
MaxClient 128
MaxSpareThreads 128
MinSpareThreads 1
ThreadsPerChild 128
MaxRequestPerChild 0

My requirement is to handle all the request by single process and want this
process to be active through out.Issue I get is that after Apache runs for
a longer time, one new process is launched apart from the active process
which was handling all the request.

I am not sure as why this new process is getting launched although I kept
ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is
creating the problem, as due to overload one more process is getting
launched or any particular module is responsible for the above?What to do to
prevent this?
I am not worried about the mod_cgid daemon.This process remains there from
the begining.I am worried about the extra daemon ie is getting
launched.Likealtogether there are 3 daemon
process.1 for mod_cgi and 2 for the core apache although I have kept
StartServers and ServerLimit both 1.Hope this is more clear.

Any help would be appreciated.Thanks in advance.
Regards
-A

On 6/4/07, Joshua Slive [EMAIL PROTECTED] wrote:


On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote:
 With Startservers 1 there will be two processes. A main process, and
 one child. IF this is what you are seeing there is nothing peculiar
 going on.

 I know there would be two process one root and other daemon.I am worried
 about the one more extra daemon which is getting launched.

 BTW, why is it that you don't want more than one process?
 My requirement is like that

The less details you provide, the less help you're going to get.

Another process that you may see with worker is the mod_cgid daemon
process that is used to launch cgi scripts. Are you accounting for
that?

Have you used mod_status to see what the processes are doing?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Joshua Slive

On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote:

Hi All,
I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the
following configuration.

StartServers 1
ServerLimit 1
MaxClient 128
MaxSpareThreads 128
MinSpareThreads 1
ThreadsPerChild 128
MaxRequestPerChild 0

My requirement is to handle all the request by single process and want this
process to be active through out.Issue I get is that after Apache runs for
a longer time, one new process is launched apart from the active process
which was handling all the request.

I am not sure as why this new process is getting launched although I kept
ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is
creating the problem, as due to overload one more process is getting
launched or any particular module is responsible for the above?What to do to
prevent this?
I am not worried about the mod_cgid daemon.This process remains there from
the begining.I am worried about the extra daemon ie is getting launched.Like
altogether there are 3 daemon process.1 for mod_cgi and 2 for the core
apache although I have kept StartServers and ServerLimit both 1.Hope this is
more clear.


When I asked for more details, I was talking about your my
requirement is like that response. Worker is not really designed to
operate as a single process, so telling us WHY you have the
requirement might allow someone to suggest another way of achieving
the same thing.

And again: have you used mod_status to track what the different
processes are doing?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] server-status - DOS Attack?

2007-06-04 Thread Marc Perkel
Hi, I'm getting a lot of these when running server-status. Is this some 
kind of DOS attack?



*25-0*  52500/2/22  *R* 0.002   65  0.0 0.000.40
?   ?   ..reading..
*26-0*  52510/0/20  *R* 0.083   46  0.0 0.007.44
?   ?   ..reading..
*27-0*  50860/5/14  *R* 0.006   66  0.0 0.100.36
?   ?   ..reading..
*28-0* 	5087 	0/5/15 	*R* 	0.00 	11 	1579 	0.0 	0.43 	0.58 	? 	? 
..reading..





Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Matthew A. Bockol
Arnab,

You may wish to try launching httpd with the -X (debug mode) argument. That 
will limit it to a single process. 

Matt


- Original Message -
From: Joshua Slive [EMAIL PROTECTED]
To: users@httpd.apache.org
Sent: Monday, June 4, 2007 12:46:38 PM (GMT-0600) America/Chicago
Subject: Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote:
 Hi All,
 I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the
 following configuration.

 StartServers 1
 ServerLimit 1
 MaxClient 128
 MaxSpareThreads 128
 MinSpareThreads 1
 ThreadsPerChild 128
 MaxRequestPerChild 0

 My requirement is to handle all the request by single process and want this
 process to be active through out.Issue I get is that after Apache runs for
 a longer time, one new process is launched apart from the active process
 which was handling all the request.

 I am not sure as why this new process is getting launched although I kept
 ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is
 creating the problem, as due to overload one more process is getting
 launched or any particular module is responsible for the above?What to do to
 prevent this?
 I am not worried about the mod_cgid daemon.This process remains there from
 the begining.I am worried about the extra daemon ie is getting launched.Like
 altogether there are 3 daemon process.1 for mod_cgi and 2 for the core
 apache although I have kept StartServers and ServerLimit both 1.Hope this is
 more clear.

When I asked for more details, I was talking about your my
requirement is like that response. Worker is not really designed to
operate as a single process, so telling us WHY you have the
requirement might allow someone to suggest another way of achieving
the same thing.

And again: have you used mod_status to track what the different
processes are doing?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Reverse proxy not working properly

2007-06-04 Thread sharath reddy

I am running apache server ver 2.0.59 on a Linux box on port 80.

Here are my Reverse proxy lines...


ProxyPass /test/ http://internal.com/mobi/ https://internal.com/mobi/
ProxyPassReverse /test/ http://internal.com/mobi/https://internal.com/mobi/
ProxyHTMLURLMap http://internal.com https://internal.com/ /test

Location /test/*
SetOutputFilter  proxy-html
ProxyHTMLURLMap  / /test/
ProxyHTMLURLMap  /test /test
RequestHeaderunset  Accept-Encoding
/Location

the problem is, dynamic links are not working (i.e., links are breaking)
in HTML pages, where as hard links are working properly.

Any help would be appriciated.

Thanks,
Sharath


Re: [EMAIL PROTECTED] Changeing the default web site

2007-06-04 Thread Krist van Besien

On 6/4/07, David Segall [EMAIL PROTECTED] wrote:



Krist van Besien wrote:
 On 6/4/07, David Segall [EMAIL PROTECTED] wrote:
 I would like to add my personal web site as the default to a server that
 already has a default web site. The existing default web site is MythTV
 www.mythtv.org and I don't want to make any changes to it because I am
 frightened I will have to change the MythTV application.

 I'm a bit confused here. You are the webmaster of MythTV.org? And how
 do you expect a webserver to have two default sites?
I'm sorry, I expressed that very badly. I am running the MythTV's
MythWeb _application_. It provides web access to _my_ MythTV server.


Ok.
If what you want is serving www.example.com and mythtv.example.com
from the same apache server than what you need is to read everything
about virtual hosting.
http://httpd.apache.org/docs/2.0/vhosts/

Krist

--
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Changeing the default web site

2007-06-04 Thread Glen Barber
What distribution are you using?  If you are using a debian based distro, I may 
be able to help, as I have set up exactly what you are looking to 
accomplish.  But you still have to read about virtual hosts. :)

 I would like to add my personal web site as the default to a server that
 already has a default web site. The existing default web site is MythTV
 www.mythtv.org and I don't want to make any changes to it because I am
 frightened I will have to change the MythTV application.

-- 
Glen Barber


signature.asc
Description: Digital signature


Re: [EMAIL PROTECTED] Changeing the default web site

2007-06-04 Thread David Segall

I set up the machine using Mythdora 3.2 which uses Fedora Core 5.

Glen Barber wrote:
What distribution are you using?  If you are using a debian based distro, I may be able to help, as I have set up exactly what you are looking to 
accomplish.  But you still have to read about virtual hosts. :)



I would like to add my personal web site as the default to a server that
already has a default web site. The existing default web site is MythTV
www.mythtv.org and I don't want to make any changes to it because I am
frightened I will have to change the MythTV application.




--
David Segall Email:  [EMAIL PROTECTED]
Profectus Pty LtdPhone:  +61 3 9830 5026
1 Myrtle RoadMobile: +61 4 1756 7246
Canterbury, VIC, 3126 Australia  Fax:+61 3 9830 0959

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Arnab Ganguly

Hi,
I am replacing Apache with NES(Sun Web Server).NES is pretty old.So I wanted
to use Apache with single process and multi threaded web server similar to
NES.

Now I have used the mod_status also.The new process launched shows to be
active while the old daemon doesn't show anything.
Thanks
-A

On 6/4/07, Joshua Slive [EMAIL PROTECTED] wrote:


On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote:
 Hi All,
 I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the
 following configuration.

 StartServers 1
 ServerLimit 1
 MaxClient 128
 MaxSpareThreads 128
 MinSpareThreads 1
 ThreadsPerChild 128
 MaxRequestPerChild 0

 My requirement is to handle all the request by single process and want
this
 process to be active through out.Issue I get is that after Apache runs
for
 a longer time, one new process is launched apart from the active process
 which was handling all the request.

 I am not sure as why this new process is getting launched although I
kept
 ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is
 creating the problem, as due to overload one more process is getting
 launched or any particular module is responsible for the above?What to
do to
 prevent this?
 I am not worried about the mod_cgid daemon.This process remains there
from
 the begining.I am worried about the extra daemon ie is getting
launched.Like
 altogether there are 3 daemon process.1 for mod_cgi and 2 for the core
 apache although I have kept StartServers and ServerLimit both 1.Hopethis is
 more clear.

When I asked for more details, I was talking about your my
requirement is like that response. Worker is not really designed to
operate as a single process, so telling us WHY you have the
requirement might allow someone to suggest another way of achieving
the same thing.

And again: have you used mod_status to track what the different
processes are doing?

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]