Re: Apache 2.0.59/Solaris8-sparc / Probleme beim Buid von mod_auth_ldap. Make bricht ab.

2006-11-21 Thread Rainer Sokoll
On Tue, Nov 21, 2006 at 10:56:53AM +0100, Vogel, Thomas (BOT) wrote:
 Beim kompilieren des Apachen bricht der make mit folgender Meldung ab:
  
 mod_auth_ldap.c:47:2: #error mod_auth_ldap requires APR-util to have LDAP 
 support built in
  
 Falls die Meldung auf die richtige Ursache hinweist interpretiere ich das so 
 das ich das APR zunächst mit bestimmten Optionen rekompilieren muß bevor ich 
 dann das eigetnliche das mod_auth_ldap.so bauen kann. Ist das so richtig? 
 Habt ihr schonmal ähnliche Probleme gehabt? Tipps?

 ./configure --prefix /svc/home/t.vogel/local/a_ldap --enable-auth-ldap

Ist zwar Linux und nicht Solaris, sollte aber für Dein Problem keinen
Unterschied bedeutetn. Ich habe:

./configure --enable-threads=posix --prefix=/usr/local/httpd-2.0.59 \
--enable-dav --enable-dav-fs --enable-so --with-berkeley-db \
--enable-ldap=shared --enable-auth-ldap=shared --enable-mods-shared=all \
--with-ldap --with-ldap-include=/usr/local/openldap-2.3.27/include \
--with-ldap-lib=/usr/local/openldap-2.3.27/lib --enable-ssl \
--with-ssl=/usr/local/openssl-0.9.8d

Weicheier können natürlich den Indianer von sunfreeware nehmen ;-)

Rainer

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



Re: [EMAIL PROTECTED] CGI app held open

2006-11-21 Thread William A. Rowe, Jr.
Nathan Kellogg wrote:
   We are debugging a CGI app ( mod_isapi ) running on a WINxp machine.

Just so you are clear, ISAPI is not CGI - CGI describes a way to launch
a program (or script, via a program) passing environment variables to
describe the request, and listening to the stdout of the program/script
for what to write back at the client.  Pretty simplistic interface.

ISAPI doesn't work that way; it's an API that pushes a request to the
.dll (on unix, an .so) entry point, and provides a number of more
sophisticated mechanisms to respond to the client.

   The app executes fine but Apache retains the file handle on the app
 making it impossible to overwrite the old cgi app with the new one
 without  restarting apache.

Apache loads the .dll and keeps a reference count of concurrent requests.
For many reasons, it is not unloaded between requests.

 Is there a way to change this behavior without compromising performance?

You are asking is it possible to reload the .dll on each and every request,
and then unload it when each request completes...

...and you ask if this can be done without comprimising performance?

Think it through :)

-
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] issues of 1.3.37 on Solaris 2.6

2006-11-21 Thread Qingshan Xie
Hi, 

  After compiled Apache-1.3.37 on a Solaris 2.6
host,it's fine to run httpd -l. However, after 
installed it on another solaris 2.6 host, run httpd
-l prompted error httpd: Unable to exec Shared Core
Executable Program
`/opt/httpd/apache/1.3.37/lib/libhttpd.ep'. Can some
tell me why?

Many Thanks, Q.Xie



 

Sponsored Link

Mortgage rates near 39yr lows. $420k for $1,399/mo. 
Calculate new payment! www.LowerMyBills.com/lre

-
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] Auth problem

2006-11-21 Thread Nathan Kellogg





 Directory c:/nwl/cgi/

 Options ExecCGI
 AuthType Basic
 AuthName Authorization Required
 AuthUserFile c:/nwl/passwords
 Require user test
 SSLRequireSSL

 /Directory


For one thing, there seems to be a conflict between c:/nwl and c:/nws.
For another thing, you don't have the
Order allow,deny
Allow from all
in the c:/nw? directory.

Joshua.



The nw? was an error I made when i changed the path info for the post here.

I dont have the 'Order allow,deny .. ' because auth is required for the cgi 
directory...




-
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] CGI app held open

2006-11-21 Thread Nathan Kellogg

  We are debugging a CGI app ( mod_isapi ) running on a WINxp machine.

  The app executes fine but Apache retains the file handle on the app 
making it impossible to overwrite the old cgi app with the new one 
without  restarting apache.


Is there a way to change this behavior without compromising performance?


-
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] WebDAV setup on Windows XP

2006-11-21 Thread Mark Lavi
This is a well known feature of Windows XP Home and later editions.

Workaround: use a port number after the domain, or use a trailing /. or
a /# on any URL to use WebDAV properly in the setup wizard.

* e.g.: http://www.atarex.com:80
* e.g.: http://www.atarex.com/.
* e.g.: https://www.atarex.com/#

Explanation: the :port number on the domain name, the trailing slash dot
/., or slash pound /# at the end of the URL prevents the bug which
interprets the resource as a SMB network drive.

Additional editorial and background here:
http://www.atarex.com/services/support/webdav-msft.shtml

--Mark 
Mark Lavi, Enterprise Web Management Team @ SGI
mailto:[EMAIL PROTECTED] || phone:+1-650-933-7707
-Original Message-
From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 20, 2006 1:42 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] WebDAV setup on Windows XP

You seem to be confusing auth_sspi (ntlm) auth with basic auth.  Or it's
an issue with your client - do you have another non-Microsoft dav client
to try?  And see conf/extras/httpd-dav.conf for an example.

Steve Pfister wrote:
 Sorry if this is a FAQ... I'm trying to set up an Apache server
(2.2.3, I
 think) on XP and I'd like to setup WebDAV on it. Is there any
 documentation on this? I can't seem to authenticate... I've got an
 htpasswd generated authentication file, but it keeps wanting the
 username in the form machinename\username. I'm not sure how to go
beyond
 this point.
 
  
 
 Thank you!
 

-
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]



RE: [EMAIL PROTECTED] Help Wanted for Setup

2006-11-21 Thread Mark Lavi
Do it yourself: download and a few clicks.
http://www.apachefriends.org/en/index.html


--Mark 
Mark Lavi, Enterprise Web Management Team @ SGI
mailto:[EMAIL PROTECTED] || phone:+1-650-933-7707

-Original Message-
From: Nathan Kellogg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 11:15 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Help Wanted for Setup

   I am looking for PAID help in the setup of Apache 2.2 on a WINXP
box.   We will be running openSSL, AUTH and later FastCGI, MYSQL and
PHP.   This server will host multiple sites and multiple SSL certs.

Would prefer to hire someone who will be available later on, after the
setup is done, from time to time.

Also preferred is someone  3 +/-  from PST.

Please reply directly to [EMAIL PROTECTED] with qualifications and
hourly pay expected. 


-
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]



Re: [EMAIL PROTECTED] Apache 2.2.3 Memory Usage

2006-11-21 Thread Sander Temme

Hey Chris,

On Nov 20, 2006, at 7:57 PM, Chris wrote:


Hi I use apache 1.3 as well as 2.2.3 so this is off topic since this
is for 2.2.3 but I have just noticed my processes use in excess of
100meg per child, I run eaccelerator which I know accounts for some of
this 32meg so this would leave around 80 meg per process without
eacellerator, I always thought this was normal and would explain why
on a box with 2 gig of ram I cant get anywhere near the amount of
child processes others reach without using swap.


This happens because you are serving run-on sentences.  You might try  
breaking up your message into multiple, shorter sentences, so Apache  
doesn't have to keep your entire message in memory all at once.


I can't speak to eaccelerator because I don't know it or use it.  It  
is possible that Apache allocates that much pool memory to serve  
requests and, after the request, the pool or its parent have grown by  
that much and will not shrink until they are destroyed.  This can be  
an outright bug, or a memory leak, or a combination of both.  I don't  
really use 1.3 anymore, but I don't think the core would do this so  
perhaps you might look at third-party modules.  Are you perhaps  
serving very large files?


Also, please keep in mind that Apache allocates shared memory for the  
scoreboard, and depending on your implementation of top the text  
pages of the code and libraries it loads might also show up as shared  
memory.  This memory is really only allocated once.


What can you do about this?  Try to find out which requests or  
modules cause this behaviour, and from there try to find out what  
actually happens.


S.

--
[EMAIL PROTECTED]http://www.temme.net/sander/
Open Source Software Consultant
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF





smime.p7s
Description: S/MIME cryptographic signature


[EMAIL PROTECTED] Google mini and RPS

2006-11-21 Thread sniedermeyer
Has anyone set up a Google Mini behind an Apache server using reverse
proxying?  I'm struggling with how to use reverse proxy and rewrite
commands to accomplish the following:

When a request comes in for
http://www.mydomin.com/search?site=my_collectionclient=my_collectionoutput=xml_..

The Apache server would issue the following GET:

http://google-mini.mydomain.com/search?site=my_collectionclient=my_collectionoutput=xml_

I think I could do it with a simple proxypass and proxyreversepass command
if the Google mini supported adding an additional subdirectory (e.g.
http://google-mini-mydomain/search/search?...), but according to their tech
support it doesn't.

Can someone point me in the right direction on this.  Just a disclaimer,
the rewrite directive is very cryptic to me ;)

Thanks in advance for any aid you can provide.


Steven Niedermeyer
Bellingham, WA


-
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] WebDAV setup on Windows XP

2006-11-21 Thread Vinay Y S

Webdav in Windows products is broken beyond any hope. Even in Windows XP Pro
it doesn't work with certain combinations of updates and patches. Also, MS
Office products understand webdav. Even they don't work in all installations
as expected. Many a times they start talking FPSE.
Checkout http://greenbytes.com/
http://greenbytes.com/tech/webdav/webdav-redirector-list.html
http://greenbytes.com/tech/webdav/webfolder-client-list.html
http://greenbytes.com/tech/webdav/webdavfaq.html

Also look at Microsoft KB articles. Search on MSDN for webdav web
folders etc.
Overall, its quite hopeless.
For your specific problems there are hacks available on the net.
specifically a module that sits before auth and (de)mangles the username.

--
Vinay


On 11/22/06, Mark Lavi [EMAIL PROTECTED] wrote:


This is a well known feature of Windows XP Home and later editions.

Workaround: use a port number after the domain, or use a trailing /. or
a /# on any URL to use WebDAV properly in the setup wizard.

* e.g.: http://www.atarex.com:80
* e.g.: http://www.atarex.com/.
* e.g.: https://www.atarex.com/#

Explanation: the :port number on the domain name, the trailing slash dot
/., or slash pound /# at the end of the URL prevents the bug which
interprets the resource as a SMB network drive.

Additional editorial and background here:
http://www.atarex.com/services/support/webdav-msft.shtml

--Mark
Mark Lavi, Enterprise Web Management Team @ SGI
mailto:[EMAIL PROTECTED] || phone:+1-650-933-7707
-Original Message-
From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]
Sent: Monday, November 20, 2006 1:42 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] WebDAV setup on Windows XP

You seem to be confusing auth_sspi (ntlm) auth with basic auth.  Or it's
an issue with your client - do you have another non-Microsoft dav client
to try?  And see conf/extras/httpd-dav.conf for an example.

Steve Pfister wrote:
 Sorry if this is a FAQ... I'm trying to set up an Apache server
(2.2.3, I
 think) on XP and I'd like to setup WebDAV on it. Is there any
 documentation on this? I can't seem to authenticate... I've got an
 htpasswd generated authentication file, but it keeps wanting the
 username in the form machinename\username. I'm not sure how to go
beyond
 this point.



 Thank you!


-
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]





--
Vinay Y S
http://vinay-ys.blogspot.com


RE: [EMAIL PROTECTED] difference between UNIX and WIN source package

2006-11-21 Thread Arthur Kreitman
I suspect the difference is the unix distribution includes support for
such important systems as sgi and beos

 



From: Syntax [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 20, 2006 1:50 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] difference between UNIX and WIN source package

 

On mailto:users@httpd.apache.org  the download page , we can see
below:

 

*  Unix Source: httpd-2.2.3.tar.gz
http://apache.stu.edu.tw/httpd/httpd-2.2.3.tar.gz  [PGP
http://www.apache.org/dist/httpd/httpd-2.2.3.tar.gz.asc ] [MD5
http://www.apache.org/dist/httpd/httpd-2.2.3.tar.gz.md5 ] 

*  Unix Source: httpd-2.2.3.tar.bz2
http://apache.stu.edu.tw/httpd/httpd-2.2.3.tar.bz2  [PGP
http://www.apache.org/dist/httpd/httpd-2.2.3.tar.bz2.asc ] [MD5
http://www.apache.org/dist/httpd/httpd-2.2.3.tar.bz2.md5 ] 

*  Win32 Source: httpd-2.2.3-win32-src.zip
http://apache.stu.edu.tw/httpd/httpd-2.2.3-win32-src.zip  [PGP
http://www.apache.org/dist/httpd/httpd-2.2.3-win32-src.zip.asc ] [MD5
http://www.apache.org/dist/httpd/httpd-2.2.3-win32-src.zip.md5 ] 

*  Win32 Binary (MSI Installer): apache_2.2.3-win32-x86-no_ssl.msi
http://apache.stu.edu.tw/httpd/binaries/win32/apache_2.2.3-win32-x86-no
_ssl.msi  [PGP
http://www.apache.org/dist/httpd/binaries/win32/apache_2.2.3-win32-x86-
no_ssl.msi.asc ] [MD5
http://www.apache.org/dist/httpd/binaries/win32/apache_2.2.3-win32-x86-
no_ssl.msi.md5 ] 

 

My question is :

 

Is there any one know about what is the difference between UNIX source
and WIN source in detail ?

 

(Of course, we all know UNIX source is for unix-like platform and WIN is
for WIndows.)

I want to know why it has to be distributed into those two platform
package, what's different, detail, in program code or something ...

 

Any one can answer ? or any where the documents about it is ?

 

 

Thanks for your help.



Re: [EMAIL PROTECTED] difference between UNIX and WIN source package

2006-11-21 Thread Sean Conner
It was thus said that the Great Syntax once stated:
  
 My question is :
  
 Is there any one know about what is the difference between UNIX source and
 WIN source in detail ?

  One major difference will be the character(s) used to mark the end of each
line of text in the source code.  Unix and Windows use different characters
to designate this (and there are reasons, mostly historical, on why this is
the way it is).

  Another difference may be the makefiles (files that describe the
order of compilation) or how the makefiles are generated on the two
platforms.

  -spc (other than that, I suspect the sources are similar)


-
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] Auth problem

2006-11-21 Thread Joshua Slive

On 11/21/06, Nathan Kellogg [EMAIL PROTECTED] wrote:


 Ok, that resolved the problem, thanks.   BUT, we have another directory
where:

 Directory c:/nwls/htdocs/kna/

 AuthType Basic
 AuthName Authorization Required
 AuthUserFile c:/nwls/passwords
 Require user test
 SSLRequireSSL

 /Directory

 In this example, AUTH works fine.  Why is this different than the above
issue?


Because that is under c:/nwls/htdocs and you have a Directory
section that opens access there.

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] Apache 1.3 and 2.2.3

2006-11-21 Thread arun kumar
Hi guys,

We are going to migrate apache from 1.3 to 2.2.3.

Please let me know the major difference between 1.3
and 2.2.3

Regards,
Arun



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

-
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 1.3 and 2.2.3

2006-11-21 Thread Joshua Slive

On 11/20/06, arun kumar [EMAIL PROTECTED] wrote:

Hi guys,

We are going to migrate apache from 1.3 to 2.2.3.

Please let me know the major difference between 1.3
and 2.2.3


http://httpd.apache.org/docs/2.0/upgrading.html
http://httpd.apache.org/docs/2.2/upgrading.html

Feel free to ask if you have more-specific questions.

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] WebDAV setup on Windows XP

2006-11-21 Thread Steve Pfister
I've got it working now (sort of). It seems to function, but so far it's
unusably slow. Are there any better alternatives for the Windows platform?

 

  _  

From: Vinay Y S [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 21, 2006 2:20 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] WebDAV setup on Windows XP

 

Webdav in Windows products is broken beyond any hope. Even in Windows XP Pro
it doesn't work with certain combinations of updates and patches. Also, MS
Office products understand webdav. Even they don't work in all installations
as expected. Many a times they start talking FPSE. 
Checkout http://greenbytes.com/
http://greenbytes.com/tech/webdav/webdav-redirector-list.html
http://greenbytes.com/tech/webdav/webfolder-client-list.html
http://greenbytes.com/tech/webdav/webdavfaq.html

Also look at Microsoft KB articles. Search on MSDN for webdav web
folders etc. 
Overall, its quite hopeless.
For your specific problems there are hacks available on the net.
specifically a module that sits before auth and (de)mangles the username.

-- 
Vinay



On 11/22/06, Mark Lavi [EMAIL PROTECTED] wrote:

This is a well known feature of Windows XP Home and later editions.

Workaround: use a port number after the domain, or use a trailing /. or
a /# on any URL to use WebDAV properly in the setup wizard. 

* e.g.: http://www.atarex.com:80
* e.g.: http://www.atarex.com/.
* e.g.: https://www.atarex.com/# https://www.atarex.com/  

Explanation: the :port number on the domain name, the trailing slash dot
/., or slash pound /# at the end of the URL prevents the bug which
interprets the resource as a SMB network drive. 

Additional editorial and background here:
http://www.atarex.com/services/support/webdav-msft.shtml

--Mark
Mark Lavi, Enterprise Web Management Team @ SGI 
mailto:[EMAIL PROTECTED] || phone:+1-650-933-7707
-Original Message-
From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]
Sent: Monday, November 20, 2006 1:42 PM 
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] WebDAV setup on Windows XP

You seem to be confusing auth_sspi (ntlm) auth with basic auth.  Or it's
an issue with your client - do you have another non-Microsoft dav client 
to try?  And see conf/extras/httpd-dav.conf for an example.

Steve Pfister wrote:
 Sorry if this is a FAQ... I'm trying to set up an Apache server
(2.2.3, I
 think) on XP and I'd like to setup WebDAV on it. Is there any 
 documentation on this? I can't seem to authenticate... I've got an
 htpasswd generated authentication file, but it keeps wanting the
 username in the form machinename\username. I'm not sure how to go 
beyond
 this point.



 Thank you!


-
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
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]




-- 
Vinay Y S 
http://vinay-ys.blogspot.com 



[EMAIL PROTECTED] Auth problem

2006-11-21 Thread Nathan Kellogg

I am having an auth problem:

from error_log : client denied by server configuration: C:/nws/cgi/cfind.dll

This has got to be very simple but I don't see it!

Thanks in advance.



Directory c:/nwls/htdocs/kna/

AuthType Basic
AuthName Authorization Required
AuthUserFile c:/nwl/passwords
Require user test
SSLRequireSSL

/Directory

ScriptAlias /kna/cgi/ c:/nwl/cgi/

Directory c:/nwl/cgi/

Options ExecCGI
AuthType Basic
AuthName Authorization Required
AuthUserFile c:/nwl/passwords
Require user test
SSLRequireSSL

/Directory



Directory c:/nwl/htdocs/
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

/Directory


Re: [EMAIL PROTECTED] Auth problem

2006-11-21 Thread Joshua Slive

On 11/21/06, Nathan Kellogg [EMAIL PROTECTED] wrote:


 I am having an auth problem:

 from error_log : client denied by server configuration:
C:/nws/cgi/cfind.dll

 This has got to be very simple but I don't see it!



 Directory c:/nwl/cgi/

 Options ExecCGI
 AuthType Basic
 AuthName Authorization Required
 AuthUserFile c:/nwl/passwords
 Require user test
 SSLRequireSSL

 /Directory


For one thing, there seems to be a conflict between c:/nwl and c:/nws.
For another thing, you don't have the
Order allow,deny
Allow from all
in the c:/nw? directory.

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] Strang successful request

2006-11-21 Thread Terje Sannum

I just noticed this request in the access log on one of my servers:

x.x.x.x - - [21/Nov/2006:18:08:07 +0100] GET http://cn.yahoo.com/ HTTP/1.1
200 22 - Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) 149 268

22 bytes is the size of /index.html on that server, and I'm suprised by that
200 status and try the same GET:

127.0.0.1 - - [21/Nov/2006:18:52:10 +0100] GET
http://cn.yahoo.com/HTTP/1.1; 400 226 - - 37 392

More like the response I would expect, I have not loaded mod_proxy. But when
I add the Host header to the request (no virtualhost or servername
configured):

127.0.0.1 - - [21/Nov/2006:19:28:05 +0100] GET
http://cn.yahoo.com/HTTP/1.1; 200 22 - - 61 268

The 22 bytes recieved is /index.html.

Anyone have an explanation for this? I'm running the httpd-2.2.2-1.2  apache
package in FC5.

-Terje


Re: [EMAIL PROTECTED] Strang successful request

2006-11-21 Thread Joshua Slive

On 11/21/06, Terje Sannum [EMAIL PROTECTED] wrote:

I just noticed this request in the access log on one of my servers:

x.x.x.x - - [21/Nov/2006:18:08:07 +0100] GET http://cn.yahoo.com/ HTTP/1.1
200 22 - Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) 149 268

22 bytes is the size of /index.html on that server, and I'm suprised by that
200 status and try the same GET:

 127.0.0.1 - - [21/Nov/2006:18:52:10 +0100] GET http://cn.yahoo.com/
HTTP/1.1 400 226 - - 37 392

More like the response I would expect, I have not loaded mod_proxy. But when
I add the Host header to the request (no virtualhost or servername
configured):

127.0.0.1 - - [21/Nov/2006:19:28:05 +0100] GET http://cn.yahoo.com/
HTTP/1.1 200 22 - - 61 268

The 22 bytes recieved is /index.html.

Anyone have an explanation for this? I'm running the httpd-2.2.2-1.2  apache
package in FC5.


Yep:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#proxyscan

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] Reverse Proxy woes

2006-11-21 Thread Rodolfo Rosado
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 17, 2006 4:39 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Reverse Proxy woes

Hi All, 

Apache 2.2 -reverse proxy -- IIS6/win2k3

Having a bit of an issue with keeping this connection alive.  It's a simple
set-up:

ProxyRequests Off
#ProxyTimeout
ProxyPreserveHost off
Proxy *
Order Deny,Allow
Allow from all
/Proxy

ProxyPass /portal ajp://machine2:7001/portal ProxyPassReverse /portal
ajp://machine2:7001/portal ProxyPass /imageserver
http://image:7002/imageserver ttl=128 retry=300 ProxyPassReverse
/imageserver http://image:7002/imageserver

The ajp connection works just fine, the connection to image connects and
grabs images, but after awhile, images stop being served.  

The backend image server is running IIS6 in standard mode on a windows 2003
OS.  

Apache Httpd.log excerpt:

[Fri Nov 17 14:34:10 2006] [info] Initial (No.1) HTTPS request received for
child 498 (server portal.test.com:443) [Fri Nov 17 14:34:10 2006] [debug]
mod_proxy_http.c(54): proxy: HTTP: canonicalising URL
//image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST/PTDateForm
ats.js
[Fri Nov 17 14:34:10 2006] [debug] proxy_util.c(1378): [client
192.168.17.130] proxy: http: found worker http://image:7002/imageserver for
http://image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST/PTDat
eFormats.js, referer: https://portal.test.com/portal/server.pt?
[Fri Nov 17 14:34:10 2006] [debug] mod_proxy.c(756): Running scheme http
handler (attempt 0) [Fri Nov 17 14:34:10 2006] [debug]
mod_proxy_http.c(1662): proxy: HTTP: serving URL
http://image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST/PTDat
eFormats.js
[Fri Nov 17 14:34:10 2006] [debug] proxy_util.c(1798): proxy: HTTP: has
acquired connection for (image) [Fri Nov 17 14:34:10 2006] [debug]
proxy_util.c(1858): proxy: connecting
http://image:7002/imageserver/plumtree/common/private/js/jsutil/LATEST/PTDat
eFormats.js to image:7002 [Fri Nov 17 14:34:10 2006] [debug]
proxy_util.c(1951): proxy: connected
/imageserver/plumtree/common/private/js/jsutil/LATEST/PTDateFormats.js to
image:7002 [Fri Nov 17 14:34:10 2006] [debug] proxy_util.c(2141): proxy:
HTTP: connection complete to 192.168.17.131:7002 (image) [Fri Nov 17
14:34:10 2006] [debug] mod_proxy_http.c(1541): proxy: header only [Fri Nov
17 14:34:10 2006] [debug] proxy_util.c(1816): proxy: HTTP: has released
connection for (image) [Fri Nov 17 14:34:10 2006] [info] [client
192.168.17.130] Connection closed to child 498 with unclean shutdown (server
portal.mda.mil:443) [Fri Nov 17 14:34:10 2006] [debug]
mod_proxy_http.c(1541): proxy: header only [Fri Nov 17 14:34:10 2006]
[debug] proxy_util.c(1816): proxy: HTTP: has released connection for (image)
[Fri Nov 17 14:34:10 2006] [info] [client 192.168.17.130] Connection closed
to child 496 with unclean shutdown (server portal.mda.mil:443)


R. Rosado

-
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]



RE: [EMAIL PROTECTED] re-write rules

2006-11-21 Thread Foster, Stephen \(ASPIRE\)
Hi there,

someone posted me a potential fix for this issue in this thread, however having 
had mailbox problems it has disappeared, could someone check their mailbox and 
see if they have the rest of the thread.

many thanks

Steve

-Original Message-
From: Foster, Stephen (ASPIRE) 
Sent: 18 October 2006 14:45
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] re-write rules


hi there, 

yes i meant HTTPS ..sorry...

Requests that do work:

a: http://your.domain.com - re-directs to https://your.domain.com/home
b: http://your.domain.com/heartbeat/heartbeat.htm - returns file to browser 
with 200 code
c: http://your.domain.com/server-status - returns server-status to browser 
with 200 code
d: http://www.your.domain.com/whatever - redirects to http because it doesn't 
match the right incoming domainname and then to https://your.domain.com/whatever
e: https://your.domain.com -  gives 404
f: https://your.domain.com/ -  gives 404

does that help?

Cheers

Steve


-Original Message-
From: Boyle Owen [mailto:[EMAIL PROTECTED]
Sent: 18 October 2006 14:29
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] re-write rules


 -Original Message-
 From: Foster, Stephen (ASPIRE) [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 18, 2006 3:18 PM
 To: users@httpd.apache.org
 Subject: [EMAIL PROTECTED] re-write rules
 
 hi there,
 
 i am having a slight issue with re-write rules, i have it 
 setup so that any requests that are not HTTP get re-sent to 

do you mean HTTPS  ?

 HTTPS. However if i connect using https://your.domain.com or 
 https://your.domain.com/ i get a page not found, 

But do you have a DirectoryIndex defined for the HTTPS VH?

 so i need to 
 be able to catch that its https but that there is no request 
 and to send it to https://your.domain.com/home.
 
 my current rules are:

These are the rules for the HTTP VH, correct?

 
 # =
 # Rewrite to HTTPS Settings
 # =
 RewriteCond %{REQUEST_URI}  !=/heartbeat/heartbeat.htm
 RewriteCond %{REQUEST_URI}  !=/server-status
 RewriteCond %{SERVER_PORT}  !=443
 RewriteRule ^/$ https://your.domain.com/home [R=301,L]
 RewriteCond %{HTTP_HOST}   !^your\.domain\.com [NC]
 RewriteCond %{HTTP_HOST}   !=
 RewriteCond %{REQUEST_URI}  !=/heartbeat/heartbeat.htm
 RewriteRule ^/(.*)  http://your.domain.com:%{SERVER_PORT}/$1 [R=301,L]
 
 The first rules handles the fact that i have to serve 
 heartbeat.htm and server-status as port 80 requests but 
 anything else thats not HTTPS goes to HTTPS.
 The second rule matches the incoming domain request to 
 re-write to the correct domain, but allows heartbeat.htm to 
 send a 200 status code rather than a 301.

I read this three times but couldn't understand what your problem is.
Please specify:

- example input/output URLs that work
- example input/output URLs that don't work and why not.
eg

request A
get B - as expected

request C
get D - expected/want E

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

 
 Any thoughts would be greatly appreciated
 
 cheers
 
 Steve
 
 Steve Foster | Capgemini | Telford
 Shared Technology Services
 T. +44 (0) 1952 296664 | www.capgemini.com
 Internal: 46664
 
 Join the Collaborative Business Experience 
 
 
 ===
 Our e-mail domain has now changed from iraspire.com to 
 hmrcaspire.com. Please update your address books.
 ===
 
 
 -
 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]

 
 
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 

[EMAIL PROTECTED] ServerLimit

2006-11-21 Thread Emma Lovatt
Hi guys


I am running 4 x dual 2.8GHz blades with 4Gb RAM load balanced.  These
are running apache 2.2.3, openssl 0.98c and PHP 5.1.6.  They are
configured with MPM prefork.

I have read some conflicting information on how to up the max_clients
directive.

My setup is as default, the Max_Clients is set to 256. I would like to
raise my max_client limit as we regularly would exceed these and I have
read that I would need to raise the server limit in prefork.c.


Here is the part of the prefork.c I think I have to tweak :).

#ifndef DEFAULT_SERVER_LIMIT
#define DEFAULT_SERVER_LIMIT 256
#endif

/* Admin can't tune ServerLimit beyond MAX_SERVER_LIMIT.  We want
 * some sort of compile-time limit to help catch typos.
 */
#ifndef MAX_SERVER_LIMIT
#define MAX_SERVER_LIMIT 20
#endif

Could someone explain the process to me a little better if possible or
point me in the direction of some docs,  I am really struggling to find
some decent documentation on this.


Thanks in Advance

Em





- 


This e-mail (and any attachments) is confidential and may be privileged. If you 
are not the intended recipient do not copy, use, or rely on them.
We do not accept any legal responsibility for the contents of this 
communication due to the generally insecure nature of email.
The views and opinions expressed within this email are those of the author and 
are not necessarily those of 'Piccadilly Ticketline' or any subsidiary.
If you received this email in error, please notify us immediately. 
PiccadillyTicketline has taken every reasonable precaution to ensure that any 
attachment to this e-mail has been swept for viruses.
However, Ticketline cannot accept liability for any damage sustained as a 
result of software viruses and would advise that you carry out your own virus 
checks before opening any email or attachment.

- 


-
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] re-write rules

2006-11-21 Thread Boyle Owen
 

 -Original Message-
 From: Foster, Stephen (ASPIRE) [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, November 21, 2006 12:58 PM
 To: users@httpd.apache.org
 Subject: RE: [EMAIL PROTECTED] re-write rules
 
 Hi there,
 
 someone posted me a potential fix for this issue in this 
 thread, however having had mailbox problems it has 
 disappeared, could someone check their mailbox and see if 
 they have the rest of the thread.

Your thread is here:

http://marc.theaimsgroup.com/?l=apache-httpd-usersm=116117751501364w=2


Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 
 
 many thanks
 
 Steve
 
 -Original Message-
 From: Foster, Stephen (ASPIRE) 
 Sent: 18 October 2006 14:45
 To: users@httpd.apache.org
 Subject: RE: [EMAIL PROTECTED] re-write rules
 
 
 hi there, 
 
 yes i meant HTTPS ..sorry...
 
 Requests that do work:
 
 a: http://your.domain.com - re-directs to 
 https://your.domain.com/home
 b: http://your.domain.com/heartbeat/heartbeat.htm - returns 
 file to browser with 200 code
 c: http://your.domain.com/server-status - returns 
 server-status to browser with 200 code
 d: http://www.your.domain.com/whatever - redirects to http 
 because it doesn't match the right incoming domainname and 
 then to https://your.domain.com/whatever
 e: https://your.domain.com -  gives 404
 f: https://your.domain.com/ -  gives 404
 
 does that help?
 
 Cheers
 
 Steve
 
 
 -Original Message-
 From: Boyle Owen [mailto:[EMAIL PROTECTED]
 Sent: 18 October 2006 14:29
 To: users@httpd.apache.org
 Subject: RE: [EMAIL PROTECTED] re-write rules
 
 
  -Original Message-
  From: Foster, Stephen (ASPIRE) [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, October 18, 2006 3:18 PM
  To: users@httpd.apache.org
  Subject: [EMAIL PROTECTED] re-write rules
  
  hi there,
  
  i am having a slight issue with re-write rules, i have it 
  setup so that any requests that are not HTTP get re-sent to 
 
 do you mean HTTPS  ?
 
  HTTPS. However if i connect using https://your.domain.com or 
  https://your.domain.com/ i get a page not found, 
 
 But do you have a DirectoryIndex defined for the HTTPS VH?
 
  so i need to 
  be able to catch that its https but that there is no request 
  and to send it to https://your.domain.com/home.
  
  my current rules are:
 
 These are the rules for the HTTP VH, correct?
 
  
  # =
  # Rewrite to HTTPS Settings
  # =
  RewriteCond %{REQUEST_URI}  !=/heartbeat/heartbeat.htm
  RewriteCond %{REQUEST_URI}  !=/server-status
  RewriteCond %{SERVER_PORT}  !=443
  RewriteRule ^/$ https://your.domain.com/home [R=301,L]
  RewriteCond %{HTTP_HOST}   !^your\.domain\.com [NC]
  RewriteCond %{HTTP_HOST}   !=
  RewriteCond %{REQUEST_URI}  !=/heartbeat/heartbeat.htm
  RewriteRule ^/(.*)  
 http://your.domain.com:%{SERVER_PORT}/$1 [R=301,L]
  
  The first rules handles the fact that i have to serve 
  heartbeat.htm and server-status as port 80 requests but 
  anything else thats not HTTPS goes to HTTPS.
  The second rule matches the incoming domain request to 
  re-write to the correct domain, but allows heartbeat.htm to 
  send a 200 status code rather than a 301.
 
 I read this three times but couldn't understand what your problem is.
 Please specify:
 
 - example input/output URLs that work
 - example input/output URLs that don't work and why not.
 eg
 
 request A
 get B - as expected
 
 request C
 get D - expected/want E
 
 Rgds,
 Owen Boyle
 Disclaimer: Any disclaimer attached to this message may be ignored. 
 
  
  Any thoughts would be greatly appreciated
  
  cheers
  
  Steve
  
  Steve Foster | Capgemini | Telford
  Shared Technology Services
  T. +44 (0) 1952 296664 | www.capgemini.com
  Internal: 46664
  
  Join the Collaborative Business Experience 
  
  
  ===
  Our e-mail domain has now changed from iraspire.com to 
  hmrcaspire.com. Please update your address books.
  ===
  
  
  
 -
  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]
 
  
  
 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, 
 

RE: [EMAIL PROTECTED] Apache 2.2.3 Memory Usage

2006-11-21 Thread Strader, William A.
Well it does seem like mod_perl is a a RAM users... I commented it out and
instead of 120mb RAM it is using 60mb RAM... Any suggestions on what I can
do to make mod_perl not use so much ram... I have it running cause I am
testing out a CMS system called WebGUI... Maybe I should just get used to
that amount of ram being used...

Thanks,
 
Billy Strader
WebPool
WebPool Pager: 865-417-5622
Work: 865-425-5178
Pager: 865-417-5012


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Joshua Slive
Sent: Monday, November 20, 2006 10:50 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.2.3 Memory Usage


On 11/20/06, Strader, William A. [EMAIL PROTECTED] wrote:
 Not sure if this is the right place to be asking but I thought I would 
 try.

 OK I am running Fedora Core 6 with Apache 2.2.3 (installed via yum).  
 The server has 1.5gb RAM on a Intel(R) Celeron(R) CPU 2.66GHz (2666 
 MHz).  What I am running into is I am getting like 12 or more httpd 
 processes running. Each processing using approximately 120mb RAM.  I 
 am running the system with prefork.c and here is the configu statement 
 I have for it:

 IfModule prefork.c
 StartServers   2
 MinSpareServers3
 MaxSpareServers   10
 ServerLimit  256
 MaxClients   256
 MaxRequestsPerChild  4000
 /IfModule

 I also have this line in my config:

 MaxMemFree 30720

 Now can anyone know me why I have so many httpd processes running at a 
 given time and why is each process using such a large amount of RAM.

 The number of sites I am running on the server is 7 domains and 4 sub 
 domains so a total of 11 sites.  Any advice you can give me in helping 
 me possible reduce the amount of ram the system is using would greatly 
 be appricated.

12 httpd processes does not seem at all unusual, given that you allow up to
10 spare (inactive) processes, plus the parent (control) process and perhaps
a piped-logger or something like that.

What is unusual here is memory requirements of 120MB per process. This is at
least 10 times what you would expect in a standard install.  It implies that
you are running some modules (mod_perl or similar) that are gobbling up tons
of RAM.  You should isolate which module is doing that and see if you can
fix 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]

-
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 2.2.3 Memory Usage

2006-11-21 Thread Chris

On 20/11/06, Joshua Slive [EMAIL PROTECTED] wrote:

On 11/20/06, Strader, William A. [EMAIL PROTECTED] wrote:
 Well it does seem like mod_perl is a a RAM users... I commented it out and
 instead of 120mb RAM it is using 60mb RAM... Any suggestions on what I can
 do to make mod_perl not use so much ram... I have it running cause I am
 testing out a CMS system called WebGUI... Maybe I should just get used to
 that amount of ram being used...

Even 60mb of RAM is on the absurd side, except for very specific
cases.  You should keep removing modules until you get down to
something in the low double digits.

As far as mod_perl goes, I'm not an expert.  Obviously there is too
much stuff getting loaded at startup.  You should ask over on the
mod_perl list, or in a support forum for WebGUI.

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]




Hi I use apache 1.3 as well as 2.2.3 so this is off topic since this
is for 2.2.3 but I have just noticed my processes use in excess of
100meg per child, I run eaccelerator which I know accounts for some of
this 32meg so this would leave around 80 meg per process without
eacellerator, I always thought this was normal and would explain why
on a box with 2 gig of ram I cant get anywhere near the amount of
child processes others reach without using swap.

Chris

-
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] Tuning the MaxKeepAliveRequests and KeepAliveTimeout http.conf parameters

2006-11-21 Thread William A. Rowe, Jr.
Arthur Kreitman wrote:
 
 I noticed a random but all to frequent (perhaps 1 or 2 or 3 for every
 few hundred http requests) error from ap_core_output_filter (about line
 903 in core_filters.c).   The error is an os 10054 “An existing
 connection was forcibly closed by the remote host”.   At the same time,
 the client side would believe the server performed a premature socket
 close. 
 
 Regardless of the value of KeepAliveTimeout, if I set
 MaxKeepAliveRequests to 1 (ie no keep alive) the error occurs for almost
 80% or 90% of the http requests
 
 If I don’t set MaxKeepAliveRequests, which then uses the default value,
 by setting KeepAliveTimeout between 60 and 90 seconds, the error disappears.

DING DING DING - thank you for providing the essentials for a reproducible
test case!!!

It sounds like we are not handling keep alive disconnection in the best
manner possible, leading to confusion by the ISAPI application.

 My understanding of KeepAliveTimeout is that it plays with the socket
 linger option.   What are the side effects of setting KeepAliveTimeout
 to a high value?   What are the side effects of setting
 MaxKeepAliveRequests to a high value?

1. fewer workers available to handle high load

2. more exposure to denial of service (every daemon has an implicit denial
   of service that it can handle only X parallel requests over N amount of
   time - keeping N low helps mitigate this).

Contra wise, the benefit is that the next request from the same client is
handled more quickly, if you assume that 'next page' requests will happen
within the keepalivetimeout period.


-
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] Tuning the MaxKeepAliveRequests and KeepAliveTimeout http.conf parameters

2006-11-21 Thread Arthur Kreitman
And what about bad side effects from increasing the linger time?

 -Original Message-
 From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 20, 2006 12:50 PM
 To: users@httpd.apache.org
 Subject: Re: [EMAIL PROTECTED] Tuning the MaxKeepAliveRequests and
 KeepAliveTimeout http.conf parameters
 
 Arthur Kreitman wrote:
 
  I noticed a random but all to frequent (perhaps 1 or 2 or 3 for
every
  few hundred http requests) error from ap_core_output_filter (about
line
  903 in core_filters.c).   The error is an os 10054 An existing
  connection was forcibly closed by the remote host.   At the same
time,
  the client side would believe the server performed a premature
socket
  close.
 
  Regardless of the value of KeepAliveTimeout, if I set
  MaxKeepAliveRequests to 1 (ie no keep alive) the error occurs for
almost
  80% or 90% of the http requests
 
  If I don't set MaxKeepAliveRequests, which then uses the default
value,
  by setting KeepAliveTimeout between 60 and 90 seconds, the error
 disappears.
 
 DING DING DING - thank you for providing the essentials for a
reproducible
 test case!!!
 
 It sounds like we are not handling keep alive disconnection in the
best
 manner possible, leading to confusion by the ISAPI application.
 
  My understanding of KeepAliveTimeout is that it plays with the
socket
  linger option.   What are the side effects of setting
KeepAliveTimeout
  to a high value?   What are the side effects of setting
  MaxKeepAliveRequests to a high value?
 
 1. fewer workers available to handle high load
 
 2. more exposure to denial of service (every daemon has an implicit
denial
of service that it can handle only X parallel requests over N
amount of
time - keeping N low helps mitigate this).
 
 Contra wise, the benefit is that the next request from the same client
is
 handled more quickly, if you assume that 'next page' requests will
happen
 within the keepalivetimeout period.
 
 
 -
 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] WebDAV setup on Windows XP

2006-11-21 Thread Steve Pfister
Sorry if this is a FAQ. I'm trying to set up an Apache server (2.2.3, I
think) on XP and I'd like to setup WebDAV on it. Is there any documentation
on this? I can't seem to authenticate. I've got an htpasswd generated
authentication file, but it keeps wanting the username in the form
machinename\username. I'm not sure how to go beyond this point.

 

Thank you!



RE: [EMAIL PROTECTED] issues of 1.3.37 on Solaris 2.6

2006-11-21 Thread Boyle Owen
 -Original Message-
 From: Qingshan Xie [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, November 21, 2006 7:57 PM
 To: users@httpd.apache.org
 Subject: [EMAIL PROTECTED] issues of 1.3.37 on Solaris 2.6
 
 Hi, 
 
   After compiled Apache-1.3.37 on a Solaris 2.6
 host,it's fine to run httpd -l. However, after 
 installed it on another solaris 2.6 host, run httpd
 -l prompted error httpd: Unable to exec Shared Core
 Executable Program
 `/opt/httpd/apache/1.3.37/lib/libhttpd.ep'. Can some
 tell me why?

What do you mean by installed on another host? If you mean you simply
*copied* the binary from host1 to host2, then that probably won't work
(both hosts would need to have exactly the same libraries installed and
in the same locations).

Better to repeat the compilation on host2...

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

 
 Many Thanks, Q.Xie
 
 
 
  
 __
 __
 Sponsored Link
 
 Mortgage rates near 39yr lows. $420k for $1,399/mo. 
 Calculate new payment! www.LowerMyBills.com/lre
 
 -
 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]

 
 
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]