Thanks Tom,
I think I got it now.
It was about the + sign. If I did match against "RewriteCond
%{LA-U:REMOTE_USER} (.*)" - the condition was true even if the REMOTE_USER was
empty. The result was that the proxy request was done before there was a value.
As our log shows the REMOTE_USER is fill
On May 28, 2009, at 12:55 PM, CrystalCracker wrote:
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChil
It was thus said that the Great Doug Bell once stated:
> On May 28, 2009, at 2:55 PM, CrystalCracker wrote:
>
> >I have at least 20 active apache threads (ps -ef | grep httpd), average
> >is about 40 threads and goes upto 70 at the peak. Does the above setting
> >sounds resonable?
>
> MaxClients
CrystalCracker wrote:
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChild 4000
I have at least 2
On May 28, 2009, at 4:19 PM, CrystalCracker wrote:
MaxClients at 250 means that potentially 250 httpd processes can be
running at once. Do you have the memory to support that many without
swapping? Swapping usually ends up killing a system, especially if
it's already handling a lot of disk i/o
>>MaxClients at 250 means that potentially 250 httpd processes can be
>>running at once. Do you have the memory to support that many without
>>swapping? Swapping usually ends up killing a system, especially if
>>it's already handling a lot of disk i/o.
Regarding MaxClients at 250, the only
Never mind. I managed to find and fix the problem all (almost! :) by
myself. It was a uninitialized variable used by ap_build_config().
-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://http
On May 28, 2009, at 2:55 PM, CrystalCracker wrote:
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChild
Thanks a lot for the response.
I will do some ab and siege tests to verify it, but I am trying to
conceptually understand it first.
StartServers 5
MinSpareServers 5
MaxSpareServers 20
MaxClients250
MaxRequestsPerChild 4000
I have at least 20 active apache threads (
On 28 maj 2009, at 20.08, Turbo Fredriksson wrote:
Any examples on how to use ap_build_config()?
By the way, here's a backtrace:
- s n i p -
(gdb) bt
#0 0x0043b073 in ap_build_config ()
#1 0x2b6171a83d6f in ldap_cfg_apache_command_loop
(args=0x7fff3f922040) at mod_ldap
My module, http://modldapcfg.bayour.com/, seem to have stopped
working!
I don't run it personaly any more, because i had to (temporarily
I hope) retire my servers...
But I got access to a users/downloaders virtual machine and
managed to test things. Eventually, I got the module to
stop segfault
On May 27, 2009, at 11:14 PM, CrystalCracker wrote:
Can anyone explain me how exactly prefork works?
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
ServerLimit 16
Prefork works by spawning one process to handle one connection. So
here, Apache can spa
My setup is Apache 2.x and mod_perl 2.x and
AuthCookie(Apache-AuthCookie-3.12). I have been able to do a cookie based
authentication with a (hardcoded) user-name and password (of course from
the sample files and configurations) and on authentication success have been
able to proxy the request to a
On Thu, 2009-05-28 at 11:44 -0400, Jones, Keven wrote:
> Hello,
>
> The number of httpd processes on my web server is at times spiking for
> no apparent reason. I have setup
> Monitoring and as an example:
> Ps -ef |grep httpd|wc -l returns:
>
> 260 at 8:40
> 332 at 8:41
> 403 at 8:42
> 570 at
Hello,
The number of httpd processes on my web server is at times spiking for no
apparent reason. I have setup
Monitoring and as an example:
Ps -ef |grep httpd|wc -l returns:
260 at 8:40
332 at 8:41
403 at 8:42
570 at 8:43
564 at 8:44
449 at 8:45
332 at 8:46
Here are the numbers just before 8:4
Thanks for the help.Got it resolved by changing SELINUX=disabled in
/etc/sysconfig/selinux.It
looks like SeLinux changes some system default behaviour, including the
shared library loading. All are from google search :)) still lot of things
to learn :((
Regards
-A
On Thu, May 28, 2009 at 7:13 PM,
Sucess!
I ended up not going down the GenerateConsoleEvent but your suggestion
inspired me to do some digging. I read on the win32 api help a while
that GenerateConsoleEvent will basically just call the registered the
even handler, so I searched through the source code to see if I could
find i
On Thu, May 28, 2009 at 9:25 AM, Arnab Ganguly wrote:
> Hi All,
> This is related to Apache start.I have written Apache module, but not able
> to start it.I am getting the following error as "cannot restore segment prot
> after reloc: Permission denied".
>
> This is not happening in all the machin
Hi All,
This is related to Apache start.I have written Apache module, but not able
to start it.I am getting the following error as "*cannot restore segment
prot after reloc: Permission denied*".
This is not happening in all the machines this is surprising to me.Same
module works perfectly in other
On Thu, 2009-05-28 at 13:58 +0200, Efjestad, Dag wrote:
> No, when I do this the value in RewriteCond is null.
>
> From logfile:
> lookahead: path=/kongsberg/ var=REMOTE_USER -> val=
> RewriteCond: input='' pattern='(.*)' => matched
>
> -Opprinnelig melding-
> Fra: Tom Evans [mailto:tevan
Thanks for this, I had tried the GenerateConsoleEvent api before without
success, although reading that page the author is creating a remote
thread to call the api from within the Apache process rather than
externally so I'll play around with that.
Thanks,
Matt
Eric Covener wrote:
On Thu, Ma
No, when I do this the value in RewriteCond is null.
>From logfile:
lookahead: path=/kongsberg/ var=REMOTE_USER -> val=
RewriteCond: input='' pattern='(.*)' => matched
-Opprinnelig melding-
Fra: Tom Evans [mailto:tevans...@googlemail.com]
Sendt: 28. mai 2009 11:49
Til: users@httpd.apache
On Thu, May 28, 2009 at 7:19 AM, Matthew Gregory
wrote:
> My question is this: how can I gracefully close apache? The docs say to use
> "httpd -k stop" but on our target platforms this always tries to stop the
> service but we are actually running as a console. There is mention of using
> kill on
Hi All,
This is my first post to this mailing list, I have tried searching for
an answer in the archives and on google with no luck.
Background: We currently have a web server application that we sell
comercially, we are currently rewriting this and have gone down the
ISAPI route. To make th
Hello,
is doesn't quite matter where you put the password and group files. For
security reasons you just shouldn't put them into a folder that is
accessible through the web. Just make sure you reference those files
correctly in your .htaccess-files, e.g.:
> AuthUserFile/etc/apache2/htus
Hi there.
I have an Apache server (2.2.11 running on Windows XP) which acts as a
forward proxy for a small network connected via a slow IP link to a main
proxy server.
The network has an intranet so the NoProxy command is used to prevent
sending these requests to the main proxy. However this cau
On Thu, 2009-05-28 at 10:52 +0200, Efjestad, Dag wrote:
> Hi.
>
> I can't get access to the REMOTE_USER value when I do a proxy request. The
> value is empty.
> RewriteRule ^/kongsberg(.*) http://aeoas02/kongsberg/%{LA-U:REMOTE_USER}$1
> [P,L]
>
> For rewrite against directory URL's I get the
Hi.
I can't get access to the REMOTE_USER value when I do a proxy request. The
value is empty.
RewriteRule ^/kongsberg(.*) http://aeoas02/kongsberg/%{LA-U:REMOTE_USER}$1 [P,L]
For rewrite against directory URL's I get the value.
RewriteRule ^/kongsberg(.*) /kongsberg/%{LA-U:REMOTE_USER}$1 [L]
28 matches
Mail list logo