[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

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

2010-01-13 Thread Chirouze Olivier
Apache restart On Wed, Jan 13, 2010 at 2:39 PM, Chirouze Olivier olivier.chiro...@volvo.com wrote: 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

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: VirtualHost ip:port ServerName nameB1.org

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

[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

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 I0 Infrastructure Volvo Information Technology -Original Message- From: Емил Иванов / Emil Ivanov [mailto:[EMAIL

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

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 I0 Infrastructure Volvo Information Technology

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

2007-04-04 Thread Chirouze Olivier
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 that: if you're browsing status page with ?notable, then if request is in reading state, you will get the client IP

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.9:

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

2007-03-28 Thread Chirouze Olivier
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 PROTECTED] ..reading.. in mod_status Chirouze Olivier wrote: Thanks to Georgi Chorbadzhiyski [EMAIL PROTECTED

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

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

2007-03-22 Thread Chirouze Olivier
Chirouze Olivier wrote: 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

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

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 I0 Infrastructure Volvo Information Technology From: Sai Jai Ganesh Gurubaran [mailto:[EMAIL PROTECTED] Sent: 28 February 2007 07:34 To: users@httpd.apache.org

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 I0 Infrastructure Volvo Information Technology -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 26

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

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

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 I0 Infrastructure Volvo Information Technology -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: 16 February 2007 11:21 To:

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

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
Subject: RE: [EMAIL PROTECTED] apache error Hi Oliver, Thanks for the quick response I have been trying to search on my server how increase my logging level on apache to no success, please enlighten me how I can change the level Regards, Peter -Original Message- From: Chirouze

RE: [EMAIL PROTECTED] Modules order

2007-02-16 Thread Chirouze Olivier
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 way to change the order in which modules are called by Apache

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

2007-02-16 Thread Chirouze Olivier
PS: I will try to contact mod_vhost_limit creator to share the hacking. Open source rules ;-) Olivier CHIROUZE I0 Infrastructure Volvo Information Technology -Original Message- From: Chirouze Olivier Sent: 09 February 2007 17:08 To: 'users@httpd.apache.org' Subject: Trying to limit

[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 I0 Infrastructure Volvo Information Technology -Original Message- From: Chirouze Olivier Sent: 16 February 2007 16:03 To: 'users@httpd.apache.org' Subject: RE: Trying

[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

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

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] 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] Status page: reading state

2007-02-08 Thread Chirouze Olivier
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 the status page worked. I even had my first look at the source code. Apparently, modules that pre-process requests could

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

2007-02-07 Thread Chirouze Olivier
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: 'users@httpd.apache.org' Subject: Proxy virtual host information

RE: [EMAIL PROTECTED] Status page: reading state

2007-02-06 Thread Chirouze Olivier
(and I won't be fired ;-) Thanks in advance, Olivier Olivier CHIROUZE I0 Infrastructure Volvo Information Technology -Original Message- From: Chirouze Olivier Sent: 06 February 2007 10:26 To: 'users@httpd.apache.org' Subject: Status page: reading state Hi, This will seem

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

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 virtualHost scope will be

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

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

[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

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

2007-01-31 Thread Chirouze Olivier
: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, Thanks a lot for your response. 30 seconds sounds so much more normal than 8 minutes

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 something like:

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

2007-01-29 Thread Chirouze Olivier
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 the list so please don't be too rude

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 to be up to date... But because nothing is said

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

[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

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

2007-01-26 Thread Chirouze Olivier
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 + Solaris 5.9: status ...reading... TCP state FIN_WAIT_2 Hi all