[us...@httpd] Name based virtual host bug after Apache restart

2010-01-13 Thread Chirouze Olivier
Hi, After some years out of the Apache discussion, I'm back for a quite specific question... ;-) We have been running Apache HTTP Server 2.0 for some years now. Everything works fine as expected but I think we encounter something that can only be a bug. We are using _name based virtual hosts_

RE: [us...@httpd] Name based virtual host bug after Apache restart

2010-01-13 Thread Chirouze Olivier
rtual host bug after > Apache restart > > On Wed, Jan 13, 2010 at 2:39 PM, Chirouze Olivier > wrote: > > Hi, > > > > After some years out of the Apache discussion, I'm back for > a quite specific > > question... ;-) > > > > We have been runnin

RE: [us...@httpd] Name based virtual host bug after Apache restart

2010-01-13 Thread Chirouze Olivier
Of course, I should have guessed about the command just statically parsing files. However, at least I'd have a live proof that it's a bug if I run the command while the server behaves strange :-) Sorry, what do you mean about duplicate? Would you mean: ServerName nameB1.org ServerAlias nameB1.

[EMAIL PROTECTED] Status page: reading state

2007-02-06 Thread Chirouze Olivier
Hi, This will seem like an obsession for me, but I have more questions about the status page. I'm running Apache 2.0.58 on Solaris 5.9, as a reverse proxy. [ This last point is probably key ] I thought the "..reading.." state meant "I'm reading client request http headers". It seems it's not, or a

RE: [EMAIL PROTECTED] Status page: reading state

2007-02-06 Thread Chirouze Olivier
;s why I think if I can manage to fix this, the modules will work (and I won't be fired ;-) Thanks in advance, Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message- > From: Chirouze Olivier > Sent: 06 February 2007 10:2

[EMAIL PROTECTED] Proxy & virtual host information [was: Status page: reading state]

2007-02-07 Thread Chirouze Olivier
Hi This is the following of an existing thread I originaly posted, but I have more details. I will describe the problem more precisely, hopping this time, someone will give some help ;-) Let say you have a very complicated page (or just a buggy app :-) published on an app server (on local network

[EMAIL PROTECTED] RE: Proxy & virtual host information [was: Status page: reading state]

2007-02-07 Thread Chirouze Olivier
l behaviour of "handlers" (one and then the other, then the next one...). But I keep thinking something's wrong... Or is it possible to change the order of handlers?? Olivier > -----Original Message- > From: Chirouze Olivier > Sent: 07 February 2007 16:07 > To:

RE: [EMAIL PROTECTED] Status page: reading state

2007-02-08 Thread Chirouze Olivier
che.org > Subject: Re: [EMAIL PROTECTED] Status page: reading state > > Georgi Chorbadzhiyski wrote: > > Chirouze Olivier wrote: > >> I'm adding information to my own message... Hope someone > will hear me! > >> > >> I spent the day trying to test how

[EMAIL PROTECTED] Trying to limit connections per virtual host with mod_cband

2007-02-09 Thread Chirouze Olivier
Hi, I'm trying to use mod_cband... but can't manage to! I've tailed down my conf file to the most simple case with just one virtual host. What I'm trying to achieve is quite simple: I just want to limit the number of concurrent connections per virtual host (a "MaxClient" at the virtualhost level)

RE: [EMAIL PROTECTED] Question about mod_rewrite

2007-02-14 Thread Chirouze Olivier
Hi, First, I supppose that's just a cut/paste mistake, but with RewriteEngine set to Off, not much will happen. Second, you might want to play with [P] flag to proxy the request. Anyway, your last rule is strange: you might try: RewriteRule .* http://www.theanotherpage.com [P] Olivier CHIRO

RE: [EMAIL PROTECTED] Disable TRACE HTTP method on Apache 1.3.33

2007-02-14 Thread Chirouze Olivier
Hi, I think you should manage to do this by using RewriteCond directive and REQUEST_METHOD environment variable (http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond). You should be able to build a test that says "if http method is TRACE, then... Then forbid" Next line should then be

[EMAIL PROTECTED] Modules order

2007-02-15 Thread Chirouze Olivier
Hi, I try to run Apache.exe to go to the internet but I get an error with winzip - what is the URL please? Ok, just kidding :-) I'd like to know if there is a way to change the order in which modules are called by Apache (either by conf or by source code change...) Here's my pb: I have a modul

RE: [EMAIL PROTECTED] RTAI

2007-02-16 Thread Chirouze Olivier
How to remove someone from the mailing list please with apache. Give good answer. The error is ['imthiaz']. Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message- > From: Krist van Besien [mailto:[EMAIL PROTECTED] > Sent: 16 February 2007 11:21 >

RE: [EMAIL PROTECTED] 403 Forbidden error with rewrite [P] flag

2007-02-16 Thread Chirouze Olivier
Hi, I already had this but can't manage to find back the solution. I have two clues, thought: - you should have ProxyRequests Off to both of your virtualhosts (or at least, the first one). - I guess you did, but just in case, did you load module "proxy_http_module"? Last thing, I've recently fo

RE: [EMAIL PROTECTED] apache error

2007-02-16 Thread Chirouze Olivier
Hi, You probably have more than these messages to provide: the error log you are showing is just Firefox or IE trying to get favicon file. This is common, nothing to worry about. You should upgrade log level, and have another look at both error log and access log... Olivier Olivier CHIROUZE

RE: [EMAIL PROTECTED] apache error

2007-02-16 Thread Chirouze Olivier
> Regards, > Peter > > -Original Message- > From: Chirouze Olivier [mailto:[EMAIL PROTECTED] > Sent: Friday, February 16, 2007 3:15 PM > To: users@httpd.apache.org > Subject: RE: [EMAIL PROTECTED] apache error > > Hi, > > You probably have more than t

RE: [EMAIL PROTECTED] Modules order

2007-02-16 Thread Chirouze Olivier
lto:[EMAIL PROTECTED] On Behalf Of > Joshua Slive > Sent: 15 February 2007 16:07 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Modules order > > On 2/15/07, Chirouze Olivier <[EMAIL PROTECTED]> wrote: > > > I'd like to know if there is a

[EMAIL PROTECTED] RE: Trying to limit connections per virtual host with mod_cband [** FIXED with mod_vhost_limit **]

2007-02-16 Thread Chirouze Olivier
before they are forwarded to the webserver by mod proxy. I'm happy. Olivier PS: I will try to contact mod_vhost_limit creator to share the hacking. Open source rules ;-) Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message- > From: Chirou

[EMAIL PROTECTED] RE: Trying to limit connections per virtual host with mod_cband [** FIXED with mod_vhost_limit **]

2007-02-16 Thread Chirouze Olivier
Also, you'll need to put the LoadModule mod_vhost_limit directive BEFORE YOUR VIRTUALHOSTS... Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message----- > From: Chirouze Olivier > Sent: 16 February 2007 16:03 > To: 'users@httpd

RE: [EMAIL PROTECTED] Limit download of data by IP address?

2007-02-21 Thread Chirouze Olivier
Hi, Have a look at this module: http://cband.linux.pl/ Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message- > From: uxwrstre [mailto:[EMAIL PROTECTED] > Sent: 21 February 2007 10:12 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Lim

RE: [EMAIL PROTECTED] 403 Forbidden error with rewrite [P] flag

2007-02-21 Thread Chirouze Olivier
Well, P flag should be enough, but make sure the site you are redirecting to (the intranet web server) doesn't do a HTTP redirect. If it does (and if it doesn't, that's safer anyway), you must use ProxyPassReverse. Also, make sure you don't use "R" flag! But I guess it's not permitted to use it al

RE: [EMAIL PROTECTED] http and http3 config ( Virtual Host ) problem

2007-02-26 Thread Chirouze Olivier
This will work. But NameVirtualHost directive is useless as it will not work as expected. Just remove NameVirtualHost *:443 Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 26 Febr

RE: [EMAIL PROTECTED] Virtual SSL on one IP?

2007-02-28 Thread Chirouze Olivier
Hi, I would like to say this different: Indeed, there is no way to use NAME BASED virtual hosts on the same IP / Port with different SSL certificates. However, it is possible to use IP PASED virtual hosts with different SSL certificates => they will have to be on different Ips or different ports.

RE: [EMAIL PROTECTED] Forward proxy 403 status for one particular Https request

2007-02-28 Thread Chirouze Olivier
Have you had a look at "AllowConnect"? Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology From: Sai Jai Ganesh Gurubaran [mailto:[EMAIL PROTECTED] Sent: 28 February 2007 07:34 To: users@httpd.apache.org Subje

RE: [EMAIL PROTECTED] Reverse proxying errors

2007-03-13 Thread Chirouze Olivier
Hi, My contribution might not be very valuable, but we do have these errors sometimes as well. I think it might just be what the error log is telling us: a network error between your reverse proxy and the web server? I hapen to have a look at this too (there is another bug report...) http://three

RE: [EMAIL PROTECTED] Request for Input: ApacheCon SSL Training

2007-03-19 Thread Chirouze Olivier
Hi, I'm sorry I always insist on wildcard certificates being not officialy supported by Apache, but I think that's something to know about. You can save a bunch of dollars a year with this trick ;-) Here's what I recently wrote for a doc, feel free to correct me if I'm wrong: ---

RE: [EMAIL PROTECTED] Re: Question about mod_rewrite

2007-03-22 Thread Chirouze Olivier
Hi Jean-Philippe, Took me time to answer as well... It becomes pretty weird if this is working on another machine. If your browser queries for cookies this is not because of Apache but related to your web application. Do you use mod_usertrack? Can you provide a full log? If it logs 20 attempts it

RE: [EMAIL PROTECTED] Request for Input: ApacheCon SSL Training

2007-03-22 Thread Chirouze Olivier
e servers and browsers and > make their use > a standard practice. > > Just my $0.02, >Issac > > > Chirouze Olivier wrote: > > Hi, > > > > I'm sorry I always insist on wildcard certificates being > not officialy > > supported by Apache

RE: [EMAIL PROTECTED] ..reading.. in mod_status

2007-03-28 Thread Chirouze Olivier
Thanks to Georgi Chorbadzhiyski [EMAIL PROTECTED] for pointing me to this amazing "feature" of Apache. Try the status page with the undocumented "?notable" at the end. (http://myserver/status?notable) Also, have a look at the long thread I once started on this list called Apache 2.0.58 + Solaris 5

RE: [EMAIL PROTECTED] ..reading.. in mod_status

2007-03-28 Thread Chirouze Olivier
Is 2.2.4 at the same level of patches as 2.0.57? Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message- > From: Reif Peter [mailto:[EMAIL PROTECTED] > Sent: 28 March 2007 16:01 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECT

RE: [EMAIL PROTECTED] ..reading.. in mod_status

2007-04-04 Thread Chirouze Olivier
; Subject: AW: [EMAIL PROTECTED] ..reading.. in mod_status > > > From: Chirouze Olivier *EXTERN* [mailto:[EMAIL PROTECTED] > > > > "Notable" does bring much more information for me. I even had > > a look at > > the code, and it's as simple as tha

RE: [EMAIL PROTECTED] Fwd: MaxClients per vhosts.

2007-04-12 Thread Chirouze Olivier
I suggest mod_vhost_limit, pretty simple but doing what you're asking for. http://www.ivn.cl/apache/ and http://www.linuxtechs.net/mod_vhost (not only because I did work on it recently ;-) Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology _

RE: [EMAIL PROTECTED] Tools for better viewing Apache access logs?

2007-05-04 Thread Chirouze Olivier
Hi Mark, I suggest you have a look at Splunk (http://www.splunk.com/products/218) which will definitively do things you don't need, but probably do what you need, too ;-) I ended up creating an Excel macro to just play with logs, too. I can even provide it to you if you want! Olivier Olivier CHI

RE: [EMAIL PROTECTED] mod_rewrite do not rewrite internals

2007-05-09 Thread Chirouze Olivier
Hi, You need to use $1 instead of $0. I didn't know what $0 meant but now I guess it's "current rewriten URL"... Anyway, "$something" starts at 1. Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology > -Original Message- > From: Емил Иванов / Emil Ivanov [mailto:[

RE: [EMAIL PROTECTED] url containing %2F / mod_rewrite

2008-01-29 Thread Chirouze Olivier
Hi, What exactly do you mean by "keeps seeing"? Did you try to play with the URI (logs, RewriteCond, etc) to make absolutely sure that it's the INPUT URI that is decoded, or could it be the "output" URI (the rewriten one) that is decoded? Olivier > -Original Message- > From: [EMAIL PRO

[EMAIL PROTECTED] Apache proxy + virtual hosts: primary ip is always forwarded

2008-01-29 Thread Chirouze Olivier
Hi all, I'm using Apache http Server 2.0 as a reverse proxy with a lot of name-based virtual hosts listening on a few IP adresses. The thing is, it's always the primary IP address of the server that is used when requests are forwarded (by the proxy module) to applicaton servers. That means whateve

RE: [EMAIL PROTECTED] SSL Certificate on Intranet Virtual Host

2007-01-26 Thread Chirouze Olivier
Hi, This is my first contribution to the list so please don't be too rude if I'm wrong ;-) But I think we have the same situation here: Onename.server.com/ Othername.server.com Somethingelse.server.com And our SSL certificate is for *.server.com ** WE ** did provide this certificate from ** ou

RE: [EMAIL PROTECTED] special chars in URLS

2007-01-26 Thread Chirouze Olivier
Did you try adding \ before the % char? Olivier Olivier CHIROUZE I&0 Infrastructure Volvo Information Technology -Original Message- From: Octavian Rasnita [mailto:[EMAIL PROTECTED] Sent: 26 January 2007 16:38 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] special chars in URLS

[EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: status "...reading..." & TCP state "FIN_WAIT_2"

2007-01-26 Thread Chirouze Olivier
Hi all, I'm facing a quite tricky situation with Apache 2.0.58 running on Solaris 5.9. Apache is running as a reverse proxy (mod_proxy + mod_rewrite). The maximum concurrent connections is set to 150. Because we reached the maximum a few times and got the reverse proxy saturated, we started moni

RE: [EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: status "...reading..." & TCP state "FIN_WAIT_2"

2007-01-26 Thread Chirouze Olivier
and/or configuration issue. What other plugins are you running? Also, is this HTTP proxying, or HTTPS? ----- Original Message From: Chirouze Olivier <[EMAIL PROTECTED]> To: users@httpd.apache.org Sent: Friday, January 26, 2007 9:56:46 AM Subject: [EMAIL PROTECTED] Apache 2.0.58 + Solar

RE: [EMAIL PROTECTED] SSL Certificate on Intranet Virtual Host

2007-01-29 Thread Chirouze Olivier
rom: Jean-Yves Avenard [mailto:[EMAIL PROTECTED] Sent: 26 January 2007 23:41 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] SSL Certificate on Intranet Virtual Host Hi On 1/26/07, Chirouze Olivier <[EMAIL PROTECTED]> wrote: > Hi, > > This is my first contribution to th

RE: [EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: status "...reading..." & TCP state "FIN_WAIT_2"

2007-01-29 Thread Chirouze Olivier
Hi Sander, Thanks for your very precise comments. Below are mine... > Chirouze, My actual firstname is Olivier :-) > > On Jan 26, 2007, at 8:41 AM, Chirouze Olivier wrote: > > > Thanks for your prompt reply. We will definitively upgrade > soon, just > > "

RE: [EMAIL PROTECTED] ProxyPass

2007-01-30 Thread Chirouze Olivier
I think this simplification is true, but only if Tony doesn't have a kind of "garbage collector" "forbidden" last rule. I'm using similar config, but the last rule is always RewriteRule "*" ... Forbidden ([F]) ... Which makes it mandatory to list all the "/webx" rules before... Or maybe somethin

RE: [EMAIL PROTECTED] suEXEC and RewriteRule

2007-01-31 Thread Chirouze Olivier
I'm not exactly sure RewriteRule accepts all sorts of regex, such as "?". But if so, I guess the following should do: RewriteRule ^/projects/design/(.?) http://www.mydoma.in/~michael/$1 [P] And below: RewriteRule ^/projects/design/ - [F] Or even: RewriteRule .* - [F] That would make a call

RE: [EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: status "...reading..." & TCP state "FIN_WAIT_2"

2007-01-31 Thread Chirouze Olivier
-Original Message- > From: John P. Dodge [mailto:[EMAIL PROTECTED] > Sent: 30 January 2007 21:24 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: > status "...reading..." & TCP state "FIN_WAIT_2" > &

[EMAIL PROTECTED] Improved status page?

2007-01-31 Thread Chirouze Olivier
Hi, I was wondering: do any of you know about a better status page than the one provided by mod_status on http://myserver/status? I feel like the "machine readable" (http://myserver/status?auto) is just the same thing with less information ;-) I haven't manage to find modules for this. However sta

RE: [EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: status "...reading..." & TCP state "FIN_WAIT_2"

2007-01-31 Thread Chirouze Olivier
t: 31 January 2007 17:10 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Apache 2.0.58 + Solaris 5.9: > status "...reading..." & TCP state "FIN_WAIT_2" > > On 1/31/07, Chirouze Olivier <[EMAIL PROTECTED]> wrote: > > Hi John, > >

RE: [EMAIL PROTECTED] Frame Question.

2007-02-01 Thread Chirouze Olivier
This is probably more than "slightly" off topic. You might want to check your html syntax (validator.w3c.org), and use something like if (parent.navigate.document) { // Seems like it's necessary for IE parent.navigate.document.location = url; } else { // Usual way parent.navigate.src =

RE: [EMAIL PROTECTED] suEXEC and RewriteRule

2007-02-01 Thread Chirouze Olivier
Hmm... mod_rewrite only rewrites the URL... It doens't change the content. I guess you use the dynamically generated listing? So you should probably play with the directive that allows you to list directories. I don't remember which one it is and don't use it myself. But I guess you can play with i

RE: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Chirouze Olivier
Hi, I guess you should add [L] ("last") to your first rule, and make sure the second one is AFTER. Thus, the first rule will work for *.html, and exit. When calling *.php, it will go to the second one... RewriteEngine on RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php [L] RewriteCond %{REQUEST_URI}

RE: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Chirouze Olivier
I guess nothing is supposed to work on some platform and not on others (Windows, Unix...). Did you try upgrading RewriteLogLevel to 3? You should get more information on what's happening. Another note: Kriss is right, if you want to redirect anything to your php files, remember to never print th

RE: [EMAIL PROTECTED] redirecting SSL

2007-02-02 Thread Chirouze Olivier
I'm not sure I get you, but it sounds like you just don't want to have the *:443 virtual host existing at all!! I think as soon as the apache processing starts on your virtual host, the SSL handshake has been done (=> the warning appeared). So whatever you will put in the scope will be handled _af