[EMAIL PROTECTED] Make Apache dump core in windows.

2008-09-16 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hi All, I am running Apache 2.2.9 as a service in windows. Can any help me in making Apache to dump core in some directory before it crashes. Thanks in advance. Regards, Prathima.

RE: [EMAIL PROTECTED] Directory hiding

2008-09-16 Thread Hugh E Cruickshank
From: Hugh E Cruickshank Sent: September 16, 2008 15:32 > From: Sean Conner Sent: September 15, 2008 23:36 > > It was thus said that the Great Hugh E Cruickshank once stated: > > > > > > That may be the case but their recommendation is still: Issue a > > > "404 - Not Found" response status code fo

Re: [EMAIL PROTECTED] Directory hiding

2008-09-16 Thread J. Greenlees
Nick Kew wrote: On 16 Sep 2008, at 06:57, Hugh E Cruickshank wrote: That may be the case but their recommendation is still: Issue a "404 - Not Found" response status code for a forbidden resource, or remove it completely. Either they're wrong or you're misreading. But I can see what's happe

RE: [EMAIL PROTECTED] Directory hiding

2008-09-16 Thread Hugh E Cruickshank
From: André Warnier Sent: September 16, 2008 15:44 > Hugh E Cruickshank wrote: > [...] > > I hear you but the client's security consultant (or whatever) is > > making the recommendation based on the software's report and the > > client is exercising due diligence by reporting the issues to us and >

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 4:25 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Clayton Hicklin wrote: > >> On Tue, Sep 16, 2008 at 4:05 PM, André Warnier <[EMAIL PROTECTED]> wrote: >> >> Clayton Hicklin wrote: >>> >>> On Tue, Sep 16, 2008 at 3:35 PM, André Warnier <[EMAIL PROTECTED]> wrote: >>

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 4:21 PM, André Warnier <[EMAIL PROTECTED]> wrote: > >>> I'm beginning to think > >> we're chasing our tails. IE is going to pass the credentials in NTLM >> format, I believe. Even if we got the username right, I'm thinking maybe >> the password won't be readable by mod_

Re: [EMAIL PROTECTED] Directory hiding

2008-09-16 Thread André Warnier
Hugh E Cruickshank wrote: [...] I hear you but the client's security consultant (or whatever) is making the recommendation based on the software's report and the client is exercising due diligence by reporting the issues to us and we are trying to keep the client satisfied. If I can accomplish t

RE: [EMAIL PROTECTED] Directory hiding

2008-09-16 Thread Hugh E Cruickshank
From: Sean Conner Sent: September 15, 2008 23:36 > It was thus said that the Great Hugh E Cruickshank once stated: > > > > That may be the case but their recommendation is still: Issue a > > "404 - Not Found" response status code for a forbidden resource, > > or remove it completely. > > I don't

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Maybe not directly relevant, but just before I forget, this place has a lot of information about IE HTTP NTLM authentication (apart from providing a free Tomcat module to do it too) : http://jcifs.samba.org/src/docs/ntlmhttpauth.html ---

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 4:05 PM, André Warnier <[EMAIL PROTECTED]> wrote: Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 3:35 PM, André Warnier <[EMAIL PROTECTED]> wrote: Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 3:11 PM, André Warnier <[EMAIL PROTECTED]> wrote

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
I'm beginning to think we're chasing our tails. IE is going to pass the credentials in NTLM format, I believe. Even if we got the username right, I'm thinking maybe the password won't be readable by mod_authn_ldap. I don't know. IE can do either of 3 things, as far as I know : 1) if it i

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 4:05 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Clayton Hicklin wrote: > >> On Tue, Sep 16, 2008 at 3:35 PM, André Warnier <[EMAIL PROTECTED]> wrote: >> >> Clayton Hicklin wrote: >>> >>> On Tue, Sep 16, 2008 at 3:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: >>

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 3:35 PM, André Warnier <[EMAIL PROTECTED]> wrote: Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 3:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 2:40 PM, Clayton Hicklin <[EMAIL PROTECTED]> wr

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 4:00 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Clayton Hicklin wrote: > >> On Tue, Sep 16, 2008 at 3:37 PM, Eric Covener <[EMAIL PROTECTED]> wrote: >> >> So, it looks like I need mod_setenvif, right? Could anybody write a > quick >>> directive that woul

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
This is a "trusted" site, which, according to the Windows Integrated Authentication docs, means that IE will happily send the authentication credentials, but I would be more inclined to think that they will just not be in the right format for mod_authnz_ldap to handle. What's weird is that it is d

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 3:37 PM, Eric Covener <[EMAIL PROTECTED]> wrote: So, it looks like I need mod_setenvif, right? Could anybody write a quick directive that would look at REMOTE_USER to see if there is a backslash ("\"), and if there is, set the same variable to e

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Eric Covener wrote: On Tue, Sep 16, 2008 at 4:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: RequestHeader edit REMOTE_USER ^(?:[^\\]+\\)(.+)$ $1 the regexp should mean (if really it's a perl regexp) : - for the first () group, match but do not capture - match (potentially) from the beginning,

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 3:35 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Clayton Hicklin wrote: > >> On Tue, Sep 16, 2008 at 3:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: >> >> Clayton Hicklin wrote: >>> >>> On Tue, Sep 16, 2008 at 2:40 PM, Clayton Hicklin <[EMAIL PROTECTED]> wrote:

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
André Warnier wrote: Eric Covener wrote: So, it looks like I need mod_setenvif, right? Could anybody write a quick directive that would look at REMOTE_USER to see if there is a backslash ("\"), and if there is, set the same variable to everything following the backslash? I think this would

RE: [EMAIL PROTECTED] How do I tell Apache where to find the APR and APR-utils?

2008-09-16 Thread Jorge Medina
I also ran # apachectl -V And I get that other versions of the APR and APR-Util are getting loaded, not the versions I compiled against. LD_LIBRARY_PATH is set to /opt/myapp/apache/lib:/opt/myapp/apr/lib:/opt/myapp/apr-util/lib: Server version: Apache/2.2.8 (Unix) Server built: Sep 16 2008 1

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 3:37 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > >> So, it looks like I need mod_setenvif, right? Could anybody write a > quick > >> directive that would look at REMOTE_USER to see if there is a backslash > >> ("\"), and if there is, set the same variable to everything f

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Eric Covener
On Tue, Sep 16, 2008 at 4:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: > RequestHeader edit REMOTE_USER ^(?:[^\\]+\\)(.+)$ $1 > > the regexp should mean (if really it's a perl regexp) : > - for the first () group, match but do not capture > - match (potentially) from the beginning, anything befo

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Eric Covener wrote: So, it looks like I need mod_setenvif, right? Could anybody write a quick directive that would look at REMOTE_USER to see if there is a backslash ("\"), and if there is, set the same variable to everything following the backslash? I think this would solve my problem. I woul

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Eric Covener
>> So, it looks like I need mod_setenvif, right? Could anybody write a quick >> directive that would look at REMOTE_USER to see if there is a backslash >> ("\"), and if there is, set the same variable to everything following the >> backslash? I think this would solve my problem. I would rather u

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 3:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 2:40 PM, Clayton Hicklin <[EMAIL PROTECTED]> wrote: "So what I believe in this case, is that the LDAP module might, possibly, rely on the "REMOTE_

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 3:25 PM, Clayton Hicklin <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 3:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: > >> Clayton Hicklin wrote: >> >>> On Tue, Sep 16, 2008 at 2:40 PM, Clayton Hicklin <[EMAIL PROTECTED]> >>> wrote: >>> >>> "So what I believe in

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 3:11 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Clayton Hicklin wrote: > >> On Tue, Sep 16, 2008 at 2:40 PM, Clayton Hicklin <[EMAIL PROTECTED]> >> wrote: >> >> "So what I believe in this case, is that the LDAP module might, possibly, >>> rely on the "REMOTE_USER" head

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 2:40 PM, Clayton Hicklin <[EMAIL PROTECTED]> wrote: "So what I believe in this case, is that the LDAP module might, possibly, rely on the "REMOTE_USER" header that IE is sometimes sending when the user is authenticated in the domain. And that one

[EMAIL PROTECTED] How do I tell Apache where to find the APR and APR-utils?

2008-09-16 Thread Jorge Medina
Hi, I am not sure this is the right forum for my question, but here it is: How do I tell Apache where to find the APR and APR-utils libraries if the libraries are in a different directory than that used in the 'configure' step ? I am compiling Apache with th

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 2:40 PM, Clayton Hicklin <[EMAIL PROTECTED]> wrote: > "So what I believe in this case, is that the LDAP module might, possibly, > rely on the "REMOTE_USER" header that IE is sometimes sending when the user > is authenticated in the domain. And that one indeed would probabl

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
"So what I believe in this case, is that the LDAP module might, possibly, rely on the "REMOTE_USER" header that IE is sometimes sending when the user is authenticated in the domain. And that one indeed would probably contain the domain and user. If that is the case, then a simple manipulation of

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Clayton Hicklin wrote: On Tue, Sep 16, 2008 at 1:28 PM, André Warnier <[EMAIL PROTECTED]> wrote: Clayton Hicklin wrote: [...] Clayton, Your first communication was a bit summarised, so I did not know to which extent you knew the underlying tidbits, from there my fist answer. I am currently

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 1:28 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Clayton Hicklin wrote: > >> I have LDAP authentication against Active Directory working perfectly in >> Firefox, but my problem is with IE. IE automatically passes through the >> username and password so once you are logg

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 1:27 PM, Prasanna Ram Venkatachalam < [EMAIL PROTECTED]> wrote: > I guess there is SSPIOmitDomain directive which can be turned Off, to > include the domain as well along with user name. > > (in mod_auth_sspi) > Regards > Prasanna Ram > > > On Tue, Sep 16, 2008 at 11:53 PM,

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread André Warnier
Clayton Hicklin wrote: I have LDAP authentication against Active Directory working perfectly in Firefox, but my problem is with IE. IE automatically passes through the username and password so once you are logged into the domain, you don't have to type it in again. That's great, except it is pa

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Prasanna Ram Venkatachalam
I guess there is SSPIOmitDomain directive which can be turned Off, to include the domain as well along with user name. (in mod_auth_sspi) Regards Prasanna Ram On Tue, Sep 16, 2008 at 11:53 PM, Clayton Hicklin <[EMAIL PROTECTED]>wrote: > On Tue, Sep 16, 2008 at 1:22 PM, Clayton Hicklin <[EMAIL PR

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 1:22 PM, Clayton Hicklin <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 10:58 AM, Davide Bianchi <[EMAIL PROTECTED]>wrote: > >> Clayton Hicklin wrote: >> > I have LDAP authentication against Active Directory working perfectly in >> > Firefox, but my problem is with IE

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 10:58 AM, Davide Bianchi <[EMAIL PROTECTED]>wrote: > Clayton Hicklin wrote: > > I have LDAP authentication against Active Directory working perfectly in > > Firefox, but my problem is with IE. IE automatically passes through the > > username and password so once you are lo

[EMAIL PROTECTED] CGI buffering problems with Apache 2.2.6 and perl

2008-09-16 Thread Zachariah Zachariah
Hi, I recently upgraded from apache-1.3 to apache-2.2.6 on a Sun Solaris x86 machine with Perl 5.8. Our web application uses perl scripts in the CGI environment. A few of them do a lot of number crunching before it spews its result page. So in order to keep the user informed of what is happen

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
On Tue, Sep 16, 2008 at 11:44 AM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 11:40 AM, Clayton Hicklin <[EMAIL PROTECTED]> > wrote: > > As far as I can tell, the \ prefix is not stored anywhere inside > the > > user object, so there is no way to authenticate with the credent

Re: [EMAIL PROTECTED] close to success with RewriteRule

2008-09-16 Thread Alain Roger
this is what i have in my .htaccess file and it seems to be ok according to log: #.htaccess file Options +FollowSymlinks RewriteEngine on RewriteRule ^(de|en|fr)/welcome/$welcome/index.php?lang=$1 [L] and in the log: init rewrite engine with requested uri /se_internet/en/welcome/ pass through

Re: [EMAIL PROTECTED] close to success with RewriteRule

2008-09-16 Thread Eric Covener
On Tue, Sep 16, 2008 at 1:21 PM, Alain Roger <[EMAIL PROTECTED]> wrote: > so if i understood well: > RewriteBase http://my_ip_address/myroot/ > RewriteRule ^(de|en|fr)/welcome/$welcome/index.php?lang=$1 [L] > > should work ? No, the RewriteBase is just the url-path (not protocol/host/post) ht

Re: [EMAIL PROTECTED] close to success with RewriteRule

2008-09-16 Thread Alain Roger
so if i understood well: RewriteBase http://my_ip_address/myroot/ RewriteRule ^(de|en|fr)/welcome/$welcome/index.php?lang=$1 [L] should work ? On Tue, Sep 16, 2008 at 7:18 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 1:11 PM, Alain Roger <[EMAIL PROTECTED]> wrote:

Re: [EMAIL PROTECTED] close to success with RewriteRule

2008-09-16 Thread Eric Covener
On Tue, Sep 16, 2008 at 1:11 PM, Alain Roger <[EMAIL PROTECTED]> wrote: > Hi, > > i'm closed to succeed with RewriteRule, i just have 1 last issue > when i use: > RewriteRule ^(de|en|fr)/welcome/$/welcome/index.php?lang=$1 [L] > > everything which looks like en/welcome will be rewritten > /welc

Re: [EMAIL PROTECTED] offline documentation

2008-09-16 Thread Alain Roger
i don't care... i just want to be able to read the documentation when i'm travelling or if i 'm not connected to internet.. so tgz or another extension (windows extension)... it's not a problem :-) On Tue, Sep 16, 2008 at 7:12 PM, Jacqui Caren <[EMAIL PROTECTED]>wrote: > Alain Roger wrote: > >> H

Re: [EMAIL PROTECTED] offline documentation

2008-09-16 Thread Jacqui Caren
Alain Roger wrote: Hi, sometimes i'm not connected to internet and i would like to read the apache httpd 2.2 documentation. Are the docs in the tgz what you want? - The official User-To-User support forum of the Apache HTTP

[EMAIL PROTECTED] close to success with RewriteRule

2008-09-16 Thread Alain Roger
Hi, i'm closed to succeed with RewriteRule, i just have 1 last issue when i use: RewriteRule ^(de|en|fr)/welcome/$/welcome/index.php?lang=$1 [L] everything which looks like en/welcome will be rewritten /welcome/index.php?lang=en this works fine... i only have 1 problem. /welcome/... does not

Re: [EMAIL PROTECTED] Configuration Question

2008-09-16 Thread Justin Pasher
Carol Walter wrote: Hello, I'm having a configuration issue. I want to put a directory called "www" under a project directory. The "www" directory is where the php code will go. I've found the UserDir directive that will allow creating that under /home/username, but I haven't found one lik

[EMAIL PROTECTED] offline documentation

2008-09-16 Thread Alain Roger
Hi, sometimes i'm not connected to internet and i would like to read the apache httpd 2.2 documentation. is there a CHM file of the html documentation or an HTML version offline ? or any good web spider which could make a copy on my HDD ? thanks a lot, -- Alain --

Re: [EMAIL PROTECTED] Making SSLVerifyClient optional using mod_rewrite and Alias?

2008-09-16 Thread Rick Yorgason
Torsten Foertsch wrote: On Tue 16 Sep 2008, Rick Yorgason wrote: There is a major drawback in that approach as with allowing SSL renegotiation in general. You cannot deploy large POST requests. Unfortunately, if POST requests are hampered, then it's really not going to be useful to me. Now

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Eric Covener
On Tue, Sep 16, 2008 at 11:40 AM, Clayton Hicklin <[EMAIL PROTECTED]> wrote: > As far as I can tell, the \ prefix is not stored anywhere inside the > user object, so there is no way to authenticate with the credentials that IE > provides. > > Has anybody got this working? Is there some sort of wor

Re: [EMAIL PROTECTED] find out group-membership with php

2008-09-16 Thread Tony Stevenson
Nick Kew wrote: > Lentes, Bernd wrote: > >> In php it's possible to find the username with getenv("REMOTE_USER"). >> Is there a possibility to find out the group with something similar ? > > Define what you mean by group, and it should become clear. > > (Clue: the answer is 42 - and if you're to

Re: [EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Davide Bianchi
Clayton Hicklin wrote: > I have LDAP authentication against Active Directory working perfectly in > Firefox, but my problem is with IE. IE automatically passes through the > username and password so once you are logged into the domain, you don't > have to type it in again. See if this http://www.

[EMAIL PROTECTED] Pass-through LDAP authentication with Internet Explorer and Active Directory

2008-09-16 Thread Clayton Hicklin
I have LDAP authentication against Active Directory working perfectly in Firefox, but my problem is with IE. IE automatically passes through the username and password so once you are logged into the domain, you don't have to type it in again. That's great, except it is passed through as \. To do

Re: [EMAIL PROTECTED] Help on Apache pause

2008-09-16 Thread Eric Covener
On Tue, Sep 16, 2008 at 10:14 AM, Arnab Ganguly <[EMAIL PROTECTED]> wrote: > Hi All, > Is there anyway to check Apache closing the sockets properly? > I am getting lots of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a > netstat -a, and result it is Apache pauses.It waits for sometime and aga

Re: [EMAIL PROTECTED] multipart request and modern browsers

2008-09-16 Thread Andrew Gaydenko
awarnier wrote: > > In my experience, pretty much all modern browsers "do the right thing" > *if* you specify the parameters correctly... > Thanks! - it is valuable info for me. awarnier wrote: > > What you cannot control of course, is what some &%/&%!(??&(/&(§W$$$§ > users will always fi

[EMAIL PROTECTED] Help on Apache pause

2008-09-16 Thread Arnab Ganguly
Hi All, Is there anyway to check Apache closing the sockets properly? I am getting lots of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a netstat -a, and result it is Apache pauses.It waits for sometime and again it comeback for processing.I did tried changing some of the TCP stack param tcp_

Re: [EMAIL PROTECTED] Trouble With mod_rewrite

2008-09-16 Thread Drew Tomlinson
Ben Spencer wrote: Looks like you went the wrong direction with the rewrite. The ! is "not". You have "not" www.consumer-sc.ca.gov, then redirect. RewriteCond %{HTTP_HOST} !^www\.consumer-sc\.ca\.gov$ [NC] Should be RewriteCond %{HTTP_HOST} ^www\.consumer-sc\.ca\.gov$ [NC] Or even (which

Re: [EMAIL PROTECTED] Trouble With mod_rewrite

2008-09-16 Thread Dan Poirier
In the first RewriteCond, you want to match www.consumer-sc.ca.gov, but the ! in front says to match anything but that. That's also why consumerservices.ca.gov is returning a 301, because it does match the condition. On Mon, September 15, 2008 6:46 pm, Drew Tomlinson wrote: > I'm using Apache ver

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
thank you. it worked after clearing the cache --- On Tue, 16/9/08, Davide Bianchi <[EMAIL PROTECTED]> wrote: > From: Davide Bianchi <[EMAIL PROTECTED]> > Subject: Re: [EMAIL PROTECTED] rewrite rules > To: users@httpd.apache.org > Date: Tuesday, 16 September, 2008, 3:13 PM > Melanie Pfefer wrote:

RE: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Vinay Purohit
Please remove/ unsubscribe me from this email group. I have sent so many emails :-( -Original Message- From: Melanie Pfefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 5:38 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] rewrite rules Hi Davide, I followed y

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi Davide, > > I followed your example and specified localhost in the VirtualHost directive. > it worked. Ah, good. > one more question please: for the other servers, I tried: > > NameVirtualHost *:80 > > > ServerName alias1 > ProxyPass / http://localh

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
Hi Davide, I followed your example and specified localhost in the VirtualHost directive. it worked. one more question please: for the other servers, I tried: NameVirtualHost *:80 ServerName alias1 ProxyPass / http://localhost:5001/ ProxyPassReverse / http://localhost:5

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > hi Davide, > > both apache instances have the basic configuration. They have different port numbers: the main apache is on port 80 and the other 3 instances on 5001, 6001 and 7001. > > In the main apache (port 80), I added as you suggested: > > NameVirtualHost *:80 > >

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
hi Davide, both apache instances have the basic configuration. They have different port numbers: the main apache is on port 80 and the other 3 instances on 5001, 6001 and 7001. In the main apache (port 80), I added as you suggested: NameVirtualHost *:80 ServerName alias1 Prox

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi > > the DNS already has this alias. > server = alias1 = alias2 = alias3 > this is why http://alias1 = http://server > while I want : http://alias1 = http://server:5001 (that is another apache on > this machine) Yes, the last part is done by the VHosts, post your config

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
Hi the DNS already has this alias. server = alias1 = alias2 = alias3 this is why http://alias1 = http://server while I want : http://alias1 = http://server:5001 (that is another apache on this machine) thanks --- On Tue, 16/9/08, Davide Bianchi <[EMAIL PROTECTED]> wrote: > From: Davide Bia

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi > > I am not using virtualhosts because I need to restart each instance > independently. Ah, ok. That make sense. > How to proceed? I tried the Virtualhost directive but http://alias1 does not > redirect to http://alias1:5001 Well, you need to have somewhere a DNS (

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
Hi I am not using virtualhosts because I need to restart each instance independently. I am using a separate httpd.conf for each instance. How to proceed? I tried the Virtualhost directive but http://alias1 does not redirect to http://alias1:5001 thank you --- On Tue, 16/9/08, Davide Bianc

Re: [EMAIL PROTECTED] multipart request and modern browsers

2008-09-16 Thread André Warnier
Andrew Gaydenko wrote: Hi! I have tried to find not-outdated (as, say, RFCs are) information about the ways modern browsers form a multipart request with all their (browsers's) bugs (IE, am sure, has plenty of them as always), but have not found any information suitable to use in code (the infor

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: > hi, > > I have 3 instances of apache each running on a separate port. > I have created a 4th instance on port 80 and 3 aliases so that when users > want to access let’s say: > > http://alias1 it goes to http://server:port1 > http://alias2 it goes to http://server:port2 >

[EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
hi, I have 3 instances of apache each running on a separate port. I have created a 4th instance on port 80 and 3 aliases so that when users want to access let’s say: http://alias1 it goes to http://server:port1 http://alias2 it goes to http://server:port2 http://alias3 it goes to http://server:

[EMAIL PROTECTED] multipart request and modern browsers

2008-09-16 Thread Andrew Gaydenko
Hi! I have tried to find not-outdated (as, say, RFCs are) information about the ways modern browsers form a multipart request with all their (browsers's) bugs (IE, am sure, has plenty of them as always), but have not found any information suitable to use in code (the information I have found is s

RE: [EMAIL PROTECTED] Trouble With mod_rewrite

2008-09-16 Thread Ben Spencer
Looks like you went the wrong direction with the rewrite. The ! is "not". You have "not" www.consumer-sc.ca.gov, then redirect. RewriteCond %{HTTP_HOST} !^www\.consumer-sc\.ca\.gov$ [NC] Should be RewriteCond %{HTTP_HOST} ^www\.consumer-sc\.ca\.gov$ [NC] Or even (which doesn't force the req

Re: [EMAIL PROTECTED] Directory hiding

2008-09-16 Thread Nick Kew
On 16 Sep 2008, at 06:57, Hugh E Cruickshank wrote: That may be the case but their recommendation is still: Issue a "404 - Not Found" response status code for a forbidden resource, or remove it completely. Either they're wrong or you're misreading. But I can see what's happening. It's "chin

Re: [EMAIL PROTECTED] Making SSLVerifyClient optional using mod_rewrite and Alias?

2008-09-16 Thread Torsten Foertsch
On Tue 16 Sep 2008, Rick Yorgason wrote: > Here's the challenge I'm trying to solve.  I'd like to use the > SSLVerifyClient directive to offer better security to users who know > about client certificates, but only for users who opt in to the extra > security. > > To make matters more difficult, I'