[EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
Ok I have been getting some really weird hits on my websites and they don't 
contain a IP or host in the log.

. - - [02/Jan/2006:01:59:37 -0800] "GET /robots.txt HTTP/1.0" 200 54 "-" 
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

Has anyone else been getting these as well? And does anyone know how this is 
happening? I have never seen this before.

Scott

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Filename Access

2006-01-02 Thread httpd2

I think I have isolated the problem now.

# THIS IS CAUSING THE PROBLEM WITH ...
#
# remove the CONNECT bug # 
http://bugs.php.net/bug.php?id=19113
#
#
#  
#  Order deny,allow
#  Deny from all
#  
#


When I un-comment the above, the error appears. If I 
comment out the above, the error goes away. 

If anyone else on the list is using this patch, maybe they 
need to check out their configuration too. It's nice to be 
able to configure apache directories now, and know what 
behaviour to expect.

Many thanks to Joe Knall for all his suggestions and help, 
from suse-security list and by sending me a copy of his 
httpd.conf file in the early hours!

Happy new year to everyone.

Keith Roberts


On Thu, 29 Dec 2005, Jim Walls wrote:

> To: users@httpd.apache.org
> From: Jim Walls <[EMAIL PROTECTED]>
> Subject: Re: [EMAIL PROTECTED] Filename Access
> 
> Sean Davis wrote:
> 
> > On 12/29/05 2:26 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
snip
> > 
> > I certainly don't see why that is the case.  I hope someone else can
> > answer
> > your question so that I can learn as well.
> 
> I have a restricted directory on one of my sites and I looked at my config
> to see what I have listed.  I also tried the same test that you did on my
> site.  When I try to access the directory, I get a request for  a logon
> and password (as expected).  When I entered an invalid password, I gave me
> the Authorization Required page.  I then tried to directly access a file
> in that directory and got exactly the same response.  Lastly I verified
> that I was getting the filename right by entering the correct password
> when prompted and was able to access the file.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] how can I add SERVER_NAME to a filename

2006-01-02 Thread robert rottermann

Hi there,

I would like to
use a construct like the following

   ServerAdmin [EMAIL PROTECTED]
   ServerName projekte2.fh-aargau.ch
   CustomLog /var/log/apache2/%{SERVER_NAME}.log combined
   ErrorLog  /var/log/apache2/%{SERVER_NAME}.log

However, the filename it creates is %{SERVER_NAME}.log instead of 
projekte2.fh-aargau.ch.log



how can I achieve the desired result?

thanks
robert


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2

Are you trying to add your own virtual server's name to your 
apache log filename? If so, read the discusion on how to log 
virtual hosts. You will find it on the manual home page under: 

Users' Guide-> LogFiles->Virtual Hosts.

You can then use the apache supplied perl script, 
split-logfile to do the following: 

>From the manual:

split-logfile

This perl script will take a combined Web server access log 
file and break its contents into separate files. It assumes 
that the first field of each line is the virtual host 
identity (put there by "%v"), and that the logfiles should 
be named that + ".log" in the current directory.

The combined log file is read from stdin. Records read will 
be appended to any existing log files.

Or you can set up logging for each specified virtual host 
like this:


 DocumentRoot /www/docs/host.foo.com
 ServerAdmin [EMAIL PROTECTED]
 ServerName projekte2.fh-aargau.ch
 CustomLog /var/log/apache2/projekte2.fh-aargau.ch/com_log combined
 ErrorLog  /var/log/apache2/projekte2.fh-aargau.ch/error_log
 

You will need to create the /projekte2.fh-aargau.ch/ 
directory under /var/log/apache2. This will keep logs for 
each virtual host seperate in their own sub-directory.


HTH - Keith Roberts 


On Mon, 2 Jan 2006, robert rottermann wrote:

> To: users@httpd.apache.org
> From: robert rottermann <[EMAIL PROTECTED]>
> Subject: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename
> 
> Hi there,
> 
> I would like to
> use a construct like the following
> 
> ServerAdmin [EMAIL PROTECTED]
> ServerName projekte2.fh-aargau.ch
> CustomLog /var/log/apache2/%{SERVER_NAME}.log combined
> ErrorLog  /var/log/apache2/%{SERVER_NAME}.log
> 
> However, the filename it creates is %{SERVER_NAME}.log instead of
> projekte2.fh-aargau.ch.log
> 
> 
> how can I achieve the desired result?
> 
> thanks
> robert
> 
> 
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See 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 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] rewrite gurus help? (with mod_proxy_ajp)

2006-01-02 Thread Pete Lamborne

Hey all,
There is very little info out there on this so far, given how new 
mod_proxy_ajp is.  One post I found seemed to indicate the same bug with 
no solution


The problem is that I can't get mod_rewrite to work transparently with 
mod_proxy_ajp.  It either doesn't work at all (when I don't specify 
:proxy or [P]), or works like a redirect, changing the URL in the user's 
browser.


Here's a quick conf:

RewriteEngine on
RewriteRule /pub/wiv/(.*).asx$ /pub/wiv?seoName=$1 [P]
ProxyPass /pub ajp://theTomcatBox:8009/pub
ProxyPassReverse /pub ajp://theTomcatBox:8009/pub

Here's something else I tried with the same results:

RewriteEngine on
RewriteRule /pub/wiv/(.*).asx$ proxy:ajp://dev3:8009/pub/wiv?seoName=$1
ProxyPass /pub ajp://theTomcatBox:8009/pub
ProxyPassReverse /pub ajp://theTomcatBox:8009/pub

Both of these solutions work, but replace the pretty URL with the ugly 
one for the end-user.  I want it to be transparent to the user.


What am I missing?



-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] how can I add SERVER_NAME to a filename

2006-01-02 Thread robert rottermann

keith,
thank you very much for your answer.
I was a bit unclear. I know that I can name the files like this

CustomLog /var/log/apache2/projekte2.fh-aargau.ch/com_log combined

however I would like to have the "projekte2.fh-aargau.ch" part
replaced by a variable.
Is this possible?

somehow %{SERVER_NAME} must be known as I use it in a rewrite rule.

thanks
robert

[EMAIL PROTECTED] wrote:
Are you trying to add your own virtual server's name to your 
apache log filename? If so, read the discusion on how to log 
virtual hosts. You will find it on the manual home page under: 


Users' Guide-> LogFiles->Virtual Hosts.

You can then use the apache supplied perl script, 
split-logfile to do the following: 


>From the manual:

split-logfile

This perl script will take a combined Web server access log 
file and break its contents into separate files. It assumes 
that the first field of each line is the virtual host 
identity (put there by "%v"), and that the logfiles should 
be named that + ".log" in the current directory.


The combined log file is read from stdin. Records read will 
be appended to any existing log files.


Or you can set up logging for each specified virtual host 
like this:



 DocumentRoot /www/docs/host.foo.com
 ServerAdmin [EMAIL PROTECTED]
 ServerName projekte2.fh-aargau.ch
 CustomLog /var/log/apache2/projekte2.fh-aargau.ch/com_log combined
 ErrorLog  /var/log/apache2/projekte2.fh-aargau.ch/error_log
 

You will need to create the /projekte2.fh-aargau.ch/ 
directory under /var/log/apache2. This will keep logs for 
each virtual host seperate in their own sub-directory.



HTH - Keith Roberts 



On Mon, 2 Jan 2006, robert rottermann wrote:

  

To: users@httpd.apache.org
From: robert rottermann <[EMAIL PROTECTED]>
Subject: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename

Hi there,

I would like to
use a construct like the following

ServerAdmin [EMAIL PROTECTED]
ServerName projekte2.fh-aargau.ch
CustomLog /var/log/apache2/%{SERVER_NAME}.log combined
ErrorLog  /var/log/apache2/%{SERVER_NAME}.log

However, the filename it creates is %{SERVER_NAME}.log instead of
projekte2.fh-aargau.ch.log


how can I achieve the desired result?

thanks
robert


-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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 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 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 (W2K) hangs on 100% CPU with Apache 2.0.55 / tomcat 5.5.12

2006-01-02 Thread Bonillo Guillaume
Hi,
I have a problem on A "Windows 2000 Small Smart Business" server with apache
2.0.55 with mod_jk and tomcat 5.5.12.
After a random time the server goes to 100% CPU.
The only log that seems to be wrong is the error log in apache,
there is a lot of lines ( more than 100 ) during the same second :

[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.81] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.133] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.115] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.115] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.81] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.81] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.81] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
[Fri Dec 30 15:24:43 2005] [info] [client 192.168.1.115] (OS 10054)Une
connexion existante a dû être fermée par l'hôte distant.  :
core_output_filter: writing data to the network
...

does anyone got an idea ?

thanks

Bonillo Guillaume



-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
Scott, what's the mystery, the missing IP or the GET robots.txt?GerryOn 1/2/06, Scott Grayban <[EMAIL PROTECTED]
> wrote:Ok I have been getting some really weird hits on my websites and they don't
contain a IP or host in the log.. - - [02/Jan/2006:01:59:37 -0800] "GET /robots.txt HTTP/1.0" 200 54 "-""Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"Has anyone else been getting these as well? And does anyone know how this is
happening? I have never seen this before.Scott-The official User-To-User support forum of the Apache HTTP Server Project.See 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]-- Gerryhttp://portal.danen.org/


Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
The missing IP/Host of course. I have never seen this before and I
know it didn't come from anything I do here. This just started to happen.

Scott

On Mon 2 January 2006 12:59, Gerry Danen wrote:
> Scott, what's the mystery, the missing IP or the GET robots.txt?
> 
> Gerry
> 
> On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:
> >
> > Ok I have been getting some really weird hits on my websites and they
> > don't
> > contain a IP or host in the log.
> >
> > . - - [02/Jan/2006:01:59:37 -0800] "GET /robots.txt HTTP/1.0" 200 54 "-"
> > "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
> >
> > Has anyone else been getting these as well? And does anyone know how this
> > is
> > happening? I have never seen this before.
> >
> > Scott
> >
> > -
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See 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]
> >
> >
> 
> 
> --
> Gerry
> http://portal.danen.org/
> 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
Does it happen with real visitors also, or just bots?On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:
The missing IP/Host of course. I have never seen this before and Iknow it didn't come from anything I do here. This just started to happen.
ScottOn Mon 2 January 2006 12:59, Gerry Danen wrote:> Scott, what's the mystery, the missing IP or the GET robots.txt?


Re: [EMAIL PROTECTED] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
Looks like only bots. I have a few hits of robots.txt getting hit first then 
it crawls the site but thats but I have more hits to the robots.txt without a 
crawl.

It almost feels virus like but I have no windows computer here in my network.

Scott

On Mon 2 January 2006 13:28, Gerry Danen wrote:
> Does it happen with real visitors also, or just bots?
> 
> On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:
> >
> > The missing IP/Host of course. I have never seen this before and I
> > know it didn't come from anything I do here. This just started to happen.
> >
> > Scott
> >
> > On Mon 2 January 2006 12:59, Gerry Danen wrote:
> > > Scott, what's the mystery, the missing IP or the GET robots.txt?
> >
> >
> 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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_bw questions

2006-01-02 Thread Tomas Larsson
I need to limit everything that goes out from my server to internet, but
keep intranet at full speed.

Will mod_bw do this for me.
I have, so far, put the following in my httpd_conf

#BW_Module
BandWidthDebug On
BandWidthModule On
BandWidth all 25600
LargeFileLimit * 1000 12800

Will this put a limit on Apache to serv maximum 25600 bytes/sec in total for
all vhosts, or is it per connection/vhost.

Now putting this line first
MinBandWidth 192.168.0.0/255.255.255.0 13107200
Will this leave my local net untuched and still limit the rest.



With best regards

Tomas Larsson
Sweden
http://www.naks.mine.nu for downloads etc.
ftp://ktl.mine.nu for uploads. Or use the free www.yousendit.com service.

Verus Amicus Est Tamquam Alter Idem



-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2

Have you looked at mod_setenvif ?

Keith


On Mon, 2 Jan 2006, robert rottermann wrote:

> To: users@httpd.apache.org
> From: robert rottermann <[EMAIL PROTECTED]>
> Subject: Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename
> 
> keith,
> thank you very much for your answer.
> I was a bit unclear. I know that I can name the files like this
> 
> CustomLog /var/log/apache2/projekte2.fh-aargau.ch/com_log combined
> 
> however I would like to have the "projekte2.fh-aargau.ch" part
> replaced by a variable.
> Is this possible?
> 
> somehow %{SERVER_NAME} must be known as I use it in a rewrite rule.
> 
> thanks
> robert

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] how can I add SERVER_NAME to a filename

2006-01-02 Thread httpd2

Yes - I think it is possible.

This is part of the apache official httpd.conf file:

#
#ServerAdmin [EMAIL PROTECTED]
#DocumentRoot /www/docs/dummy-host.example.com
#ServerName dummy-host.example.com
#ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
#CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
#

Not the last entries for the log files.
I don't know how they implement it though.
Are they some sort of environment, or CGI variables?
Maybe someone else knows?

I'd be interested to know how it is done.

Keith


On Mon, 2 Jan 2006, robert rottermann wrote:

> To: users@httpd.apache.org
> From: robert rottermann <[EMAIL PROTECTED]>
> Subject: Re: [EMAIL PROTECTED] how can I add SERVER_NAME to a filename
> 
> keith,
> thank you very much for your answer.
> I was a bit unclear. I know that I can name the files like this
> 
> CustomLog /var/log/apache2/projekte2.fh-aargau.ch/com_log combined
> 
> however I would like to have the "projekte2.fh-aargau.ch" part
> replaced by a variable.
> Is this possible?
> 
> somehow %{SERVER_NAME} must be known as I use it in a rewrite rule.
> 
> thanks
> robert

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
When it crawls the site, if you get always a hit on a specific page, you could capture more info than you would get in the log. Sometimes the "browser" field has the name of the bot in it. You want to pursue this off-list?
GerryOn 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:
Looks like only bots. I have a few hits of robots.txt getting hit first thenit crawls the site but thats but I have more hits to the robots.txt without acrawl.It almost feels virus like but I have no windows computer here in my network.
ScottOn Mon 2 January 2006 13:28, Gerry Danen wrote:> Does it happen with real visitors also, or just bots?>> On 1/2/06, Scott Grayban <[EMAIL PROTECTED]
> wrote:> >> > The missing IP/Host of course. I have never seen this before and I> > know it didn't come from anything I do here. This just started to happen.> >> > Scott
> >> > On Mon 2 January 2006 12:59, Gerry Danen wrote:> > > Scott, what's the mystery, the missing IP or the GET robots.txt?> >> >>-
The official User-To-User support forum of the Apache HTTP Server Project.See 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]-- Gerryhttp://portal.danen.org/



[EMAIL PROTECTED] Authentication realms

2006-01-02 Thread Dave Beach
Title: Authentication realms






Hi list!


I'm having a small problem. I have basic authentication set up (httpd v2.2.0), and it works as I would expect - except that when a user requests a Windows Media file (wmv) from a subordinate page, the client browser prompts again for the user's credentials. When correctly re-entered, the wmv file is served up and plays in the browser. If not entered, or incorrectly entered, the file is not served up and the client browser (IE 6) issues an authentication error.

I would have expected no such secondary authentication prompt, as the file is found in a directory subordinate to the one established for the authentication realm in the httpd.conf file.

I'm not sure if this is a client browser issue, a Windows Media Player issue, or an apache issue. I'm hoping this question has been asked and answered before, but a fairly extensive google search has not seemed to reveal anything relevant, and the FAQ doesn't seem to address this issue.

What am I missing? Are there relevant parts of my httpd.conf file that might be useful to post?


Thanks in advance for any pointers or assistance.





Re: [EMAIL PROTECTED] Authentication realms

2006-01-02 Thread Sean Conner
It was thus said that the Great Dave Beach once stated:
> 
> I would have expected no such secondary authentication prompt, as the file
> is found in a directory subordinate to the one established for the
> authentication realm in the httpd.conf file.
> 
> What am I missing? Are there relevant parts of my httpd.conf file that might
> be useful to post?

  Have you tried putting the file at the top level directory that's
protected?  

  -spc (And what OS?)




-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] Process issue w/ 2.0.54

2006-01-02 Thread David Coulson
I have three web servers, Linux 2.6.13 based running Apache 2.0.54 (From 
Debian). They are all running using worker.c, with the following config:



 ThreadLimit 128
 ServerLimit 128
 StartServers 64
 MaxClients 4096
 MinSpareThreads 25
 MaxSpareThreads 75
 ThreadsPerChild 128
 MaxRequestsPerChild 1


Two work fine, with only a couple of Apache processes running. The third 
starts by spawning 4096 Apache processes, then ends up with 134 running 
after a couple of minutes. As far as I can tell using md5sum, all of the 
libraries and binaries are the same on the boxes, however this third one 
behaves differently. If I browse to /server-status on any of the three 
machines, they all only have a single PID listed at the bottom. Even 
though there are 134 Apache processes, only one seems to be doing something.


Is there a specific kernel issue, or something with libc which would 
cause Apache to use processes rather than threads when using worker.c? 
I've hit a brick wall with my own basic diagnostics, and google didn't 
help me very much either.


Any pointers would be appreciated...

David

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] IP/Host not logged ?

2006-01-02 Thread Scott Grayban
Sure. I would like to know who, what, how on this one.

Scott

On Mon 2 January 2006 14:44, Gerry Danen wrote:
> When it crawls the site, if you get always a hit on a specific page, you
> could capture more info than you would get in the log. Sometimes the
> "browser" field has the name of the bot in it.
> 
> You want to pursue this off-list?
> 
> Gerry
> 
> On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:
> >
> > Looks like only bots. I have a few hits of robots.txt getting hit first
> > then
> > it crawls the site but thats but I have more hits to the robots.txtwithout 
a
> > crawl.
> >
> > It almost feels virus like but I have no windows computer here in my
> > network.
> >
> > Scott
> >
> > On Mon 2 January 2006 13:28, Gerry Danen wrote:
> > > Does it happen with real visitors also, or just bots?
> > >
> > > On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:
> > > >
> > > > The missing IP/Host of course. I have never seen this before and I
> > > > know it didn't come from anything I do here. This just started to
> > happen.
> > > >
> > > > Scott
> > > >
> > > > On Mon 2 January 2006 12:59, Gerry Danen wrote:
> > > > > Scott, what's the mystery, the missing IP or the GET robots.txt?
> > > >
> > > >
> > >
> >
> > -
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See 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]
> >
> >
> 
> 
> --
> Gerry
> http://portal.danen.org/
> 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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] IP/Host not logged ?

2006-01-02 Thread Gerry Danen
[EMAIL PROTECTED]On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:
Sure. I would like to know who, what, how on this one.ScottOn Mon 2 January 2006 14:44, Gerry Danen wrote:
> When it crawls the site, if you get always a hit on a specific page, you> could capture more info than you would get in the log. Sometimes the> "browser" field has the name of the bot in it.
>> You want to pursue this off-list?>> Gerry>> On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:> >> > Looks like only bots. I have a few hits of 
robots.txt getting hit first> > then> > it crawls the site but thats but I have more hits to the robots.txtwithouta> > crawl.> >> > It almost feels virus like but I have no windows computer here in my
> > network.> >> > Scott> >> > On Mon 2 January 2006 13:28, Gerry Danen wrote:> > > Does it happen with real visitors also, or just bots?> > >
> > > On 1/2/06, Scott Grayban <[EMAIL PROTECTED]> wrote:> > > >> > > > The missing IP/Host of course. I have never seen this before and I
> > > > know it didn't come from anything I do here. This just started to> > happen.> > > >> > > > Scott> > > >> > > > On Mon 2 January 2006 12:59, Gerry Danen wrote:
> > > > > Scott, what's the mystery, the missing IP or the GET robots.txt?> > > >> > > >> > >> >> > -
> > The official User-To-User support forum of the Apache HTTP Server Project.> > See 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]> >>  --
> Gerry> http://portal.danen.org/>-The official User-To-User support forum of the Apache HTTP Server Project.
See 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]-- Gerryhttp://portal.danen.org/


Re: [EMAIL PROTECTED] Authentication realms

2006-01-02 Thread Nick Kew
On Monday 02 January 2006 22:57, Dave Beach wrote:
> Hi list!
>
> I'm having a small problem. I have basic authentication set up (httpd
> v2.2.0), and it works as I would expect - except that when a user requests
> a Windows Media file (wmv) from a subordinate page, the client browser
> prompts again for the user's credentials.

That's the browser doing the prompting.  Which means the *browser*
sees the wmv file as not being within the already-authenticated area.

You need to sort out your URL space.  The internal organisation of
Apache (thngs like directories) is not relevant (except indirectly,
when it affects URL space).

There's a FAQ entry that might be relevant to you.

-- 
Nick Kew

-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]