RE: [EMAIL PROTECTED] Web server fail over setup

2007-10-03 Thread Axel-Stéphane SMORGRAV
No matter which solution you choose, the real problem is to detect that the server fails. If the server stops responding to requests, that's easy enough. However if there is not a clear-cut failure, e.g. one server gradually slows down, or still responds to the polls from the load balancer but

RE: [EMAIL PROTECTED] Problems with ProxyPassReverseCookieDomain

2007-10-02 Thread Axel-Stéphane SMORGRAV
ProxyPassReverseCookieDomain does not change the cookie name - only the domain field of the cookie. Use LiveHTTPHeaders on Mozilla or similar (like Ethereal, burpproxy...) to see exactly what the browser receives (Set-Cookie header) and what it subsequently sends to the server in terms of cook

RE: [EMAIL PROTECTED] 127.0.0.1 access_log errors

2007-10-01 Thread Axel-Stéphane SMORGRAV
I explicitly set it to 0 for all of my servers. Never had a problem. In my mind setting it to anything different than zero would just be a temporary hack to circumvent a bug in some module, particularly memory leaks. Various load tests I have made on Apache clearly show that restarting processe

RE: [EMAIL PROTECTED] Investigating high harddrive load

2007-10-01 Thread Axel-Stéphane SMORGRAV
Somebody is probably reformatting your hard drive. No, seriously you need to provide a LOT more information about your configuration for anyone to get the foggiest idea about what causes this. What HW/OS? Are these disk reads or writes? What kind of modules do you use? PHP or no PHP? etc. I on

RE: [EMAIL PROTECTED] Basic mod_rewrite help

2007-10-01 Thread Axel-Stéphane SMORGRAV
If I may inject a related question here, I was recently surprised to discover the order in which rewrite rules are evaluated when using "RewriteOptions inherit" in a VH. It seems like the rewrite rules included in the VH are evaluated before the ones that are inherited. Is that correct? Is ther

RE: [EMAIL PROTECTED] ProxyPassReverse not working as documented??? (Apache 2.2)

2007-10-01 Thread Axel-Stéphane SMORGRAV
Whenever possible I try to avoid modifying the URL path when reverse proxying. Then mod_proxy_html is not needed and you save some CPU cycles. ProxyPass http://www.flickr.com/flickr ProxyPassReverse http://www.flickr.com/flickr -ascs De : proteus guy

RE: [EMAIL PROTECTED] Apache error

2007-09-26 Thread Axel-Stéphane SMORGRAV
Lalit, Your WebSphere plugin XML configuration file probably does not contain any configuration for port 9191. You need to add *:9191 to the list of addresses on which the plugin will intercept requests. You do that by adding a VirtualHost to the appropriate VirtualHostGroup in the plugin con

RE: [EMAIL PROTECTED] One-Time authentificaton for multiple servers

2007-09-26 Thread Axel-Stéphane SMORGRAV
Hi Michelle, There are systems that allow you to authenticate a user, set a cryptographic session cookie on the client browser and subsequently use that token to authenticate the client sending the HTTP request. These systems also allow you to define access control rules that depend on the user

RE: [EMAIL PROTECTED] help about a rewrite rule

2007-09-24 Thread Axel-Stéphane SMORGRAV
RewriteEngine on RewriteCond %{QUERY_STRING} ^mid=(\d+)$ RewriteRule ^/movie_play.php /movie%1.html? [R] -Message d'origine- De : tech user [mailto:[EMAIL PROTECTED] Envoyé : mardi 25 septembre 2007 08:18 À : users@httpd.apache.org Objet : Re: [EMAIL PROTECTED] help about a rewrite rul

RE: [EMAIL PROTECTED] No pidfile

2007-09-24 Thread Axel-Stéphane SMORGRAV
Is it possible that the directory is not writable to the Apache process owner?? If the server listens to ports below 1024 that's unlikely since it must start as root and will have root privileges when creating the pid and log files, but you never know... -ascs -Message d'origine- De :

RE: [EMAIL PROTECTED] SSL server IP/port conflict

2007-09-21 Thread Axel-Stéphane SMORGRAV
HTTPS and NameVirtualHost do not go well together. NVH is based on the Host header. However Apache cannot read the Host header before the SSL session has been established. But in order to establish the SSL session, Apache needs to know what virtual host it is for to determine what certificate to

RE: [EMAIL PROTECTED] mod_cache question

2007-09-20 Thread Axel-Stéphane SMORGRAV
If you know what you are doing, you can turn on or more of the following cache settings: - CacheIgnoreCacheControl - CacheIgnoreNoLastMod AND limit the time during which the response may be cached with - CacheMaxExpire You should also add - CacheIgnoreHeaders: S

[EMAIL PROTECTED] 2.2.x: New mod_proxy configuration directive

2007-09-17 Thread Axel-Stéphane SMORGRAV
Hi Those of you who use mod_rewrite in a reverse-proxy scenario (RewriteRule with the [P] flag) might be interested in http://issues.apache.org/bugzilla/show_bug.cgi?id=43308. In such a scenario mod_proxy will not be able to use persistent connections (KeepAlive) to the origin server. This is

RE: [EMAIL PROTECTED] RE: Removing the 'Referer' header on redirects / rewrites

2007-09-05 Thread Axel-Stéphane SMORGRAV
Why don't you try Header set Referer "" or, Header unset Referer Looks like the mod_header filter is executed pretty late in the request processing, so that might do the trick. -ascs De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 septem

RE: [EMAIL PROTECTED] Apache 2.2.x mod_rewrite and mod_proxy and pooled connections

2007-08-30 Thread Axel-Stéphane SMORGRAV
access_status = OK; } -ascs -Message d'origine- De : Axel-Stéphane SMORGRAV Envoyé : mercredi 29 août 2007 19:18 À : users@httpd.apache.org Objet : [EMAIL PROTECTED] Apache 2.2.x mod_rewrite and mod_proxy and pooled connections Hello folks, I have been doing some testing wi

[EMAIL PROTECTED] Apache 2.2.x mod_rewrite and mod_proxy and pooled connections

2007-08-29 Thread Axel-Stéphane SMORGRAV
Hello folks, I have been doing some testing with Apache 2.2.4 recently, and one of the things I am particularly interested in is the pooling of backend connections of mod_proxy's as this makes it possible to maintain persistent connections to backend systems across requests from different clien

RE: [EMAIL PROTECTED] configuration question from an Apache newbie

2006-07-11 Thread Axel-Stéphane SMORGRAV
You probably need to modify the access rights of the associated Directory section accordingly. I am not familiar with Apache on Win XP but I guess you need something like Options MultiViews AllowOverride None Order allow,deny Allow from all -ascs -Original Message- F

RE: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal proxying)

2006-07-11 Thread Axel-Stéphane SMORGRAV
Ooops. :-) -Original Message- From: Robert Ionescu [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 11:52 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal proxying) Axel-Stéphane SMORGRAV wrote: > What d

FW: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal proxying)

2006-07-10 Thread Axel-Stéphane SMORGRAV
Very strange... Apparently the list software omitted to insert the Reply-To header. -Original Message- From: Axel-Stéphane SMORGRAV Sent: Monday, July 10, 2006 8:23 AM To: 'Ravish Agarwal' Subject: RE: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](interna

RE: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal proxying)

2006-07-10 Thread Axel-Stéphane SMORGRAV
with this new virtual host group, for example: Should everything else fail, please contact your friendly IBM representative. -ascs -Original Message- From: Ravish Agarwal [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 11:20 AM To: Axel-Stéphane SMORGRAV Cc: users@httpd.apach

RE: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal proxying)

2006-07-07 Thread Axel-Stéphane SMORGRAV
apache 1.3 says but its not there at apache 2.0 manual page. I am using apache 2.0.55 Output of httpd -l shows the following $ ./httpd -l Compiled in modules: core.c worker.c http_core.c mod_so.c I have the mod_proxy_http enabled too. So what could be the poblem? On 7/7/06, Axel-Stéphane

RE: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal proxying)

2006-07-07 Thread Axel-Stéphane SMORGRAV
What does that have to do with this particular problem -ascs -Original Message- From: Robert Ionescu [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 1:06 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal pr

RE: [EMAIL PROTECTED] Re: problem with mod_rewrite rewiterule with [P](internal proxying)

2006-07-07 Thread Axel-Stéphane SMORGRAV
The rewrite logs included in the original post indicate that the proxying does work, so that cannot possibly be the problem. -ascs -Original Message- From: Joost de Heer [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 9:55 AM To: Ravish Agarwal Cc: users@httpd.apache.org Subject

RE: [EMAIL PROTECTED] problem with mod_rewrite rewiterule with [P](internal proxying)

2006-07-07 Thread Axel-Stéphane SMORGRAV
Seems like your rewrite rules are working perfectly! What I am guessing is happening, is that your login.jsp issues a redirect, and that the request to this new location returns the 404. In addition to your rewrite logs, your should take a look in your error and access logs to see if you can fin

RE: [EMAIL PROTECTED] SSL issues.

2006-07-06 Thread Axel-Stéphane SMORGRAV
Your httpd error log clearly indicates that you are trying to send a request over SSL to a server which is not SSL enabled. Make sure that you have loaded mod_ssl. If you are using an Apache source or binary distribution retrieved from apache.org, make sure Apache is started with "startssl" as a

RE: [EMAIL PROTECTED] Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl

2006-07-06 Thread Axel-Stéphane SMORGRAV
Although this subject does not seem to be related to Apache, and I have not been near HP-UX for years... I had a look at the Siteminder WebAgent Installation guide. There is a section called "Enabling SHLIB Path for an Agent on Apache2/HP-UX 11" which states: For the Web Agent to operate to op

RE: [EMAIL PROTECTED] Apache listening for UDP requests?

2006-07-06 Thread Axel-Stéphane SMORGRAV
I ran a netstat on some of my apache server hosts looking for UDP sockets, but could not find any. The only UDP sockets I could see were on the NTP port. Then I tried lsof and could not find anything concerning httpd either. I am therefore wondering whether you could possibly have a module that

RE: [EMAIL PROTECTED] Apache listening for UDP requests?

2006-07-05 Thread Axel-Stéphane SMORGRAV
Could it possibly be for communication with a DNS server ? Have you tried sniffing UDP packets sent to/from this port? -ascs -Original Message- From: Richard de Vries [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 7:07 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] A

RE: [EMAIL PROTECTED] issue on 304 return code

2006-07-05 Thread Axel-Stéphane SMORGRAV
It seems like there is some fundamental misunderstanding about HTTP and the way the Siteminder WebAgents work. Let mpe say a few words about the Web Agent. When the WebAgent (SMWA) (which may either be an Apache module or an application server plug-in known as TAI) receives a request for a pro

RE: [EMAIL PROTECTED] mod_proxy keepalive ssl

2006-07-05 Thread Axel-Stéphane SMORGRAV
No - that's not possible. What you can do however, is to use mod_rewrite to retrieve the ssl id from the client-rproxy connection and insert it as a header into the rproxy-balancer connection. Search for previous threads on this list about forwarding client certificate data to a backend server

Re: [EMAIL PROTECTED] SetOutputFilter doesn't work...

2006-07-03 Thread Axel-Stéphane SMORGRAV
SetOutputFilter works very well, even in Location filters. There are lots of happy customers of this feature, using it for such things as for example compression of response bodies. Are you quite sure your filter is NOT invoked? Could you possibly have it generate some output to stderr? I copi

[EMAIL PROTECTED] SetOutputFilter doesn't work in s?

2006-07-03 Thread Axel-Stéphane SMORGRAV
SetOutputFilter works very well, even in Location filters. There are lots of happy customers of this feature, using it for such things as for example compression of response bodies. Are you quite sure your filter is NOT invoked? Could you possibly have it generate some output to stderr? I co

RE: [EMAIL PROTECTED] Configuring Siteminder 5.5 for apache2.0 on HP-UX 11- can't find libmod_sm20.sl

2006-07-03 Thread Axel-Stéphane SMORGRAV
That piece of shit has made me tear all of my hair out, but if you really have to use it, please make yourself a favor and use the latest and greatest (SMWA 5QMR8). I think I counted something like 160 bug fixes in that release, as compared to appx. 40 in other releases. Given all the problems I

RE: [EMAIL PROTECTED] SSL and reverse proxying

2006-07-03 Thread Axel-Stéphane SMORGRAV
You need to uncomment "SSLEngine on" in conf/extra/httpd-ssl.conf. SSLProxyEngine is used to activate SSL to the backend server only. The errors you get (Invalid method in request) are typical of a non-SSL server receiving an unexpected SSL handshake. -ascs F

RE: [EMAIL PROTECTED] SetOutputFilter doesn't work in s?

2006-07-02 Thread Axel-Stéphane SMORGRAV
SetOutputFilter works very well, even in Location filters. There are lots of happy customers of this feature, using it for such things as for example compression of response bodies. Are you quite sure your filter is NOT invoked? Could you possibly have it generate some output to stderr? I copi

RE: [EMAIL PROTECTED] Reverse Proxy between WebSphere and the WebServer - prevent "Bad Gateway" errors.

2006-06-29 Thread Axel-Stéphane SMORGRAV
You are right. It does do port checks. Too bad it cannot determine that the application server is unavailable based on the HTTP 502 the reverse proxy would return in that case, and take the server off the list... Did you actually verify that? Truly, we abandoned using WebSphere and WebLogic plu

RE: [EMAIL PROTECTED] Reverse Proxy between WebSphere and the WebServer - prevent "Bad Gateway" errors.

2006-06-28 Thread Axel-Stéphane SMORGRAV
Sorry; I did not really get it the first time around. The reverse proxy is located between the plugin and WAS. However I do not see why this should interfere with the work of the WAS plugin since the latter, as far as I recall, basically just performs routing based on the contents of the JSESSI

RE: [EMAIL PROTECTED] reverse proxy fails on uri escape sequences

2006-06-28 Thread Axel-Stéphane SMORGRAV
What I did notice though, is that replacing the %2F with / did work. What's the story about this %2F ? Unfortunately I'll have to pass on this one. If no-one else replies, you could do a test using Apache 2.2.2, and possibly file a bug report. You may have more luck filing a bug report after ha

RE: [EMAIL PROTECTED] How to set up Apache2 forward proxy server over SSL?

2006-06-27 Thread Axel-Stéphane SMORGRAV
No it's not. It's mostly used to fix poor HTML code served by the application server (e.g. absolute URLs), or URL prefixes modified by the proxy server (why would anyone want to do that anyway ?) thereby breaking links (e.g. http://apache.webthing.com/mod_proxy_html/faq.html -ascs ___

RE: [EMAIL PROTECTED] reverse proxy fails on uri escape sequences

2006-06-27 Thread Axel-Stéphane SMORGRAV
You've already asked this question in another thread. Please do not hijack other people's threads. If you do not get a response within a few days, post again - in the same thread. -ascs From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June

RE: [EMAIL PROTECTED] Reverse Proxy between WebSphere and the WebServer - prevent "Bad Gateway" errors.

2006-06-27 Thread Axel-Stéphane SMORGRAV
If it were not for the Proxy server, the user would just get a "Connection refused" or "Unable to connect/Connection timed out" which in my opinion is no better than that HTTP 502 (Bad Gateway). At least the proxy server gives you the option of serving a custom error page for the HTTP 502 using

RE: [EMAIL PROTECTED] reverse proxy fails on uri escape sequences

2006-06-27 Thread Axel-Stéphane SMORGRAV
I managed to reproduce this behaviour on Apache 2.0.54 (on Solaris). Wasn't difficult either. Seems like when the URL contains a %2F (which I believe is a / ??), mod_rewrite is never invoked, or silently (no log) declines to handle the request. Nevertheless, I do indeed have an idea: why would

RE: [EMAIL PROTECTED] mod_rewrite and multiple parameters

2006-06-16 Thread Axel-Stéphane SMORGRAV
Here you go: RewriteRule ^/seach/(.*) /myscript.php/$1 RewriteRule ^/myscript.php/([a-z])([0-9]+)/(.*) /myscript.php/$3?param_$1=$2 [QSA,N] RewriteRule ^/myscript.php/([a-z])([0-9]+)$ /myscript.php?param_$1=$2 [QSA,L] -ascs -Original Message- From: news [mailto:[EMAIL PROTECTED] On Be

RE: [EMAIL PROTECTED] mod_rewrite & mod_proxy & %2F in URL

2006-06-14 Thread Axel-Stéphane SMORGRAV
Good job. This suddenly rang a bell. Check Bugzilla PR 15207 and upgrade to Apache 2.0.58 (or at least some version >= 2.0.55) -ascs -Original Message- From: Markus Stockhausen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 8:59 PM To: Axel-Stéphane SMORGRAV; us

RE: [EMAIL PROTECTED] mod_rewrite & mod_proxy & %2F in URL

2006-06-13 Thread Axel-Stéphane SMORGRAV
;%25', '%24', and '%3B', respectively); this flag prevents this from happening. This allows percent symbols to appear in the output, as in RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE] which would turn '/foo/zed' into a safe request for '/bar?arg=P1=zed&#x

RE: [EMAIL PROTECTED] mod_rewrite & mod_proxy & %2F in URL

2006-06-13 Thread Axel-Stéphane SMORGRAV
I thought there was a flag blocking URL escaping in rewrite rules, but I am actually unable to find it in the module documentation. Checking the code, however, I found the following: bash-2.03$ grep -n NOESCAPE mod_rewrite.h 125:#define RULEFLAG_NOESCAPE 1<<13 128:#define ACTION_NOESCA

FW: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server

2006-06-08 Thread Axel-Stéphane SMORGRAV
-Original Message- From: Axel-Stéphane SMORGRAV Sent: Thursday, June 08, 2006 4:05 PM To: 'sarvothaman vittal' Subject: RE: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server Chances are that BEA does not currently support Apache 2.2. Apache 2.2 is not binary

FW: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server

2006-06-08 Thread Axel-Stéphane SMORGRAV
-Original Message- From: Axel-Stéphane SMORGRAV Sent: Thursday, June 08, 2006 3:41 PM To: 'sarvothaman vittal' Subject: RE: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server There we go. The plugin is not compatible with 2.2.0. I do not know whether BEA doe

FW: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server

2006-06-08 Thread Axel-Stéphane SMORGRAV
-Original Message- From: Axel-Stéphane SMORGRAV Sent: Thursday, June 08, 2006 3:24 PM To: 'sarvothaman vittal' Subject: RE: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server I suppose you _are_ using Apache 2.0.x ? What is the output of "http

RE: [EMAIL PROTECTED] Invalid argument: Failed to acquire global mutex lock

2006-06-08 Thread Axel-Stéphane SMORGRAV
I have had this kind of problems before, and I seem to remember I even posted a bug about it. For your information the error message you get does come from mod_ssl: bash-2.03$ find . -type f -name \*.c -exec grep -l 'Failed to acquire global mutex lock' {} \; ./modules/ssl/ssl_engine_mutex.c b

RE: [EMAIL PROTECTED] Invalid argument: Failed to acquire global mutex lock

2006-06-08 Thread Axel-Stéphane SMORGRAV
Are you using mod_ssl ? IN that case what is the value of the SSLMutex property ? -ascs -Original Message- From: Steely, Bruce (Mission Systems) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:07 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Invalid argument: Failed

RE: [EMAIL PROTECTED] Regarding Apache Plugin for weblogic server

2006-06-08 Thread Axel-Stéphane SMORGRAV
What do you get when you execute file /etc/httpd/modules/mod_wl_20.so ?? -ascs From: sarvothaman vittal [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 9:43 PM To: users@httpd.apache.org; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [EMAIL PROTECT

RE: [EMAIL PROTECTED] Image caching / Expiry times / 304s

2006-06-07 Thread Axel-Stéphane SMORGRAV
I see you are using Apache 2.0.46. I seem to remember that there once was a bug in mod_cache causing stale entries not to be replaced in certain versions of Apache 2.0. Apache 2.0.46 may be one of the versions affected by this problem. That would cause the cache provider to decline to serve the

RE: [EMAIL PROTECTED] Reverse Proxy Cache not Caching in 2.2.2

2006-06-01 Thread Axel-Stéphane SMORGRAV
> Anyway- looking at the log lines he sent later, perhaps this gives a clue: Very clever. I can't believe I missed this. > Maybe this hostname is confusing mod_cache somehow. The fact that it is > caching the URL, but then doesn't serve from cache because nobody thinks they > have it tells me

RE: [EMAIL PROTECTED] Reverse Proxy Cache not Caching in 2.2.2

2006-05-31 Thread Axel-Stéphane SMORGRAV
Well, the second response is definitively not served from cache (nor the first one for that matter). The cache provider definitively tries to store the response (measning that there is nothing in the headers preventing the response from being cached) in both cases and declines to serve the respo

RE: [EMAIL PROTECTED] Reverse Proxy Cache not Caching in 2.2.2

2006-05-31 Thread Axel-Stéphane SMORGRAV
This is definitely not the same problem. First of all the problem was fixed in 2.2.1 and the original poster reports using 2.2.2. Second, I do not see any mention of caching the response under the key http://_default_:80/ like in your case. Frankly, I do not see anything indicating the respon

RE: [EMAIL PROTECTED] mod_rewrite

2006-05-29 Thread Axel-Stéphane SMORGRAV
s@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_rewrite Axel-Stéphane SMORGRAV wrote: >> Rules below would be tested, but they wouldn't match unless the pattern >> starts with scheme + :// + url-path. > > unless the RewriteCond pattern starts with /. The above matches ju

RE: [EMAIL PROTECTED] rewrite rule

2006-05-29 Thread Axel-Stéphane SMORGRAV
Could you give some explanations wrt. your RewriteCond ? I have never seen this kind of expressions before. -ascs -Original Message- From: Robert Ionescu [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 7:55 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] rewrite rule

RE: [EMAIL PROTECTED] mod_rewrite

2006-05-29 Thread Axel-Stéphane SMORGRAV
7:36 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_rewrite Axel-Stéphane SMORGRAV wrote: > The L is not necessary since the redirect is immediate. Rules below would be tested, but they wouldn't match unless the pattern starts with scheme + :// + url-path. Only other status codes t

RE: [EMAIL PROTECTED] rewrite rule

2006-05-29 Thread Axel-Stéphane SMORGRAV
Your statement is wrong. The saves $2 and $3 are definitely known at that stage of the rewriting process. The RewriteRule pattern is the first to be evaluated. Check the mod_rewrite manual page. You can also test it for yourself with RewriteLogLevel 3 -ascs -Original Message- From: Ma

RE: [EMAIL PROTECTED] mod_rewrite

2006-05-29 Thread Axel-Stéphane SMORGRAV
Seems almost right to me. If you want the querystring appended, you need to use the QSA option. The L is not necessary since the redirect is immediate. RewriteRule ^/directoryone/directorytwo/(mypage\.php)$ /$1 [R=301,QSA] -ascs -Original Message- From: Robert Ionescu [mailto:[EMAIL P

RE: [EMAIL PROTECTED] ProxyPass and reverse

2006-05-29 Thread Axel-Stéphane SMORGRAV
It is really hard to understand exactly what your problem is because your description is so sketchy. My understanding is that when you request http://pippo/ntop/showPlugins.html?icmpWatch, the backend server issues a redirect to http://localhost:3000/plugins/icmpWatch which you expect the rev

RE: [EMAIL PROTECTED] mod_rewrite: RewriteRule to strip index.html?

2006-05-24 Thread Axel-Stéphane SMORGRAV
Although you do not specify which version of Apache you are using, I assume that you are using 2.0.55 or newer. AFAIK this problem does not exist in Apache 2.0.54 (or at least I have not experienced it) with which I use rewrite rules quite extensively. Therefore I think that you could replace t

RE: [EMAIL PROTECTED] POST encoding

2006-05-24 Thread Axel-Stéphane SMORGRAV
There must be something more to this, because there is no reason why the user agent should encode differently depending on the server to which the request is sent. At the time the request is sent, the browser does not even know what kind of server it is sending the request to, and reverse proxie

RE: [EMAIL PROTECTED] ProxyPassReverse on Windows

2006-05-18 Thread Axel-Stéphane SMORGRAV
directives: ProxyPass /path/to/exception ! -ascs -Original Message- From: Avraham Shapiro [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 10:05 PM To: Axel-Stéphane SMORGRAV; users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] ProxyPassReverse on Windows Importance: Low ** Low

RE: [EMAIL PROTECTED] Exceeded the limit of 10 subrequest nesting levels ...

2006-05-18 Thread Axel-Stéphane SMORGRAV
ECTED] Exceeded the limit of 10 subrequest nesting levels ... Removing Indexes does not help either. The debug messages just point to the actual directory. So the needle is still not found . Kjell Axel-Stéphane SMORGRAV wrote: > It's a little like the famous needle in a hayst

RE: [EMAIL PROTECTED] Exceeded the limit of 10 subrequest nesting levels ...

2006-05-18 Thread Axel-Stéphane SMORGRAV
Sent: Thursday, May 18, 2006 1:17 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Exceeded the limit of 10 subrequest nesting levels ... No, I do'nt think so. Kjell Axel-Stéphane SMORGRAV wrote: > Would you by any chance be using m

RE: [EMAIL PROTECTED] Exceeded the limit of 10 subrequest nesting levels ...

2006-05-18 Thread Axel-Stéphane SMORGRAV
Would you by any chance be using mod_rewrite ?? -ascs -Original Message- From: Kjell Eidem [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 12:10 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Exceeded the limit of 10 subrequest nesting levels ... Hi List. The followin

RE: [EMAIL PROTECTED] ProxyPassReverse on Windows

2006-05-18 Thread Axel-Stéphane SMORGRAV
Replace ProxyPass http://tswwma.lib.loc.gov/ http://192.168.0.2/ ProxyPassReverse http://tswwma.lib.loc.gov/ http://192.168.0.2/ with ProxyPass/ http://192.168.0.2/ ProxyPassReverse / http://192.168.0.2/ -ascs -Original Message- From: Avraham Shapi

RE: [EMAIL PROTECTED] proxy: error reading status line from remote server

2006-05-17 Thread Axel-Stéphane SMORGRAV
I know that there have been problems with KeepAlive and IE when using https, but not between Apache and IIS. Would you by any chance know what the IIS KeepAlive timeout is? Might it possibly be shorter than the Apache KeepAliveTimeout ? Does this only happen on "long" requests (timeout of the b

RE: [EMAIL PROTECTED] Case insensitive apache ?

2006-05-17 Thread Axel-Stéphane SMORGRAV
I assume that your problem is due to the fact that the Windows file names are case insensitive, whereas filenames on Unices are case sensitive. In that case I believe there is nothing much you can do other than correcting all the links in the HTML code, unless you want to rewrite all URL paths o

RE: [EMAIL PROTECTED] Help with Apache

2006-05-16 Thread Axel-Stéphane SMORGRAV
Remove the Indexes option from the list of Options for every Location/Directory section of your configuration. For example change: Options Indexes FollowSymlinks Order Deny,Allow Allow all to: Options FollowSymlinks Order Deny,Allow Allow all If you load mod_

RE: [EMAIL PROTECTED] Query

2006-05-16 Thread Axel-Stéphane SMORGRAV
ServerLimit is what you are looking for if you are using Apache 2.x Otherwise (Apache 1.3), it is MaxChild. -ascs -Original Message- From: Kaushal Shriyan [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 3:13 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Query Hi How c

RE: [EMAIL PROTECTED] Hosting off of Shared Storage

2006-05-15 Thread Axel-Stéphane SMORGRAV
And in addition to this, if you run the Apache servers on Solaris, you may turn on NFS caching. -ascs -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] Sent: Monday, May 15, 2006 11:19 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Hosting off of Sha

RE: [EMAIL PROTECTED] https to http proxy with Apache

2006-05-15 Thread Axel-Stéphane SMORGRAV
(or maybe even http://andy/webapp) to your configuration. -ascs -Original Message- From: Bo Najdrovsky [mailto:[EMAIL PROTECTED] Sent: Monday, May 15, 2006 5:26 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] https to http proxy with Apache Axel-Stéphane SMORGRAV wrote: >

RE: [EMAIL PROTECTED] Apache eating memory

2006-05-15 Thread Axel-Stéphane SMORGRAV
You need to be more specific about httpd and OS versions, as well as a list of the modules used. There have been memory leaks in some modules in the past, like a leak in the handling of rewrite maps for example. You could also search the Apache bug site. -ascs -Original Message- From:

RE: [EMAIL PROTECTED] https to http proxy with Apache

2006-05-14 Thread Axel-Stéphane SMORGRAV
In that case my guess is that it is the application that generates erroneous redirect URLs. Had tomcat generated the redirect URLs, theyr would have contained the port number also, e.g. http://andy:8012/ Keep your configuration the way it is (ProxyPreserveHost Off) and add the following to the

RE: [EMAIL PROTECTED] Proxy errors

2006-05-12 Thread Axel-Stéphane SMORGRAV
, May 12, 2006 3:30 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Proxy errors Thanks for this - I've tried changing the timeout so I'll see what happens. Is it possible to catch the error and display something nicer instead? cheers Matt on 12/05/2006 10:27 Axel-Stéphan

RE: [EMAIL PROTECTED] Access to Webpage

2006-05-12 Thread Axel-Stéphane SMORGRAV
VPN/IPsec solutions might also be considered in order to restrict access from the Internet to only those able to establish a secure session... That would restrict the number of users who would be able to probe the webmail gizmo. -ascs -Original Message- From: Boyle Owen [mailto:[EMAIL P

RE: [EMAIL PROTECTED] passing request to the server

2006-05-12 Thread Axel-Stéphane SMORGRAV
Unless you are doing this in order to familiarise yourself with writing modules for Apache 2.0, I strongly suggest you use a module that already exists and that provides a lot more flexibility than you module does. That module happens to be mod_rewrite (funny how often it saves the day!) Combine

RE: [EMAIL PROTECTED] https to http proxy with Apache

2006-05-12 Thread Axel-Stéphane SMORGRAV
I guess the response to the POST is a redirect (302) which is not rewritten by any of the ProxyPassReverse directives. In that case the URL of the Location header probably starts with http://andy:port/ instead of https://my.reverse.proxy.com/ What you need to do is figure out exactly what the v

RE: [EMAIL PROTECTED] Proxy errors

2006-05-12 Thread Axel-Stéphane SMORGRAV
The error you are referring to is generated during the processing of the backend server response. It may be due to the backend server closing the connection, or the connection timing out. The timeout is 5 minutes by default, so unless the request really takes that long to process, I think it is

RE: [EMAIL PROTECTED] ProxyPreserve... Port?

2006-05-10 Thread Axel-Stéphane SMORGRAV
>From what I understand you proxy to an application that generates HTML or >other contents where there are absolute references to other resources on the >same server. What you should convince your dev team about is to generate links that do not contain scheme://server:port but only the url-path

RE: [EMAIL PROTECTED] [Question]error_log

2006-05-10 Thread Axel-Stéphane SMORGRAV
I think this question would better be submitted to the developpers' list. -ascs -Original Message- From: Okamoto Toshiaki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 12:06 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] [Question]error_log Hi Alls: I have two questio

RE: [EMAIL PROTECTED] Next Newbee Question - Can ´t access host from outside firewall...

2006-05-09 Thread Axel-Stéphane SMORGRAV
Given the e-mail address of the original poster, I assume he is setting up an Apache server in a professional context, and I would be very much surprised if the provider did any kind of filtering. Chances are that they are their own provider anyway... It is much more likely he needs to talk to

RE: [EMAIL PROTECTED] Correction & Question: SSLCertificateFile: RedHat (RHEL4) apache startup failure: ebxml-registry-repository on tomcat on port 6480, with Mambo LAMP Portal on port 8080: Despite S

2006-05-09 Thread Axel-Stéphane SMORGRAV
No need to reinstall Apache. This is only a configuration issue. You need to tell Apache where to find the - Server certificate - Private key associated with the server certificate - CA Certificate >From your httpd.conf file, you probably include a configuration file called >ssl.conf. This incl

RE: [EMAIL PROTECTED] mod_cache behavior with proxied images - urls not cached

2006-05-09 Thread Axel-Stéphane SMORGRAV
If this is really an issue, you could write a script (using curl) that requests all of the images through you caching (reverse?) proxy in order to prime the cache... -ascs From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 3:36 AM T

RE: [EMAIL PROTECTED] Running Batchfiles

2006-05-09 Thread Axel-Stéphane SMORGRAV
You'll find a tutorial on CGI here: http://httpd.apache.org/docs/2.0/howto/cgi.html -ascs -Original Message- From: Broun Emmanuel [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 9:38 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Running Batchfiles Please help me ho

RE: [EMAIL PROTECTED] Mod-Rewrite within a Mod-Rewrite

2006-05-09 Thread Axel-Stéphane SMORGRAV
What do you expect Reference/Glossary should be rewritten to ? As far as I can tell from your rewrite rules, Reference/Glossary and Reference/Glossary/ should be rewritten into Reference/index.php?ref=Glossary. If that is not the case, you should turn on the rewrite logs at a log level of at

RE: [EMAIL PROTECTED] Redirect Problem

2006-05-05 Thread Axel-Stéphane SMORGRAV
The requests will actually be processed by the rules of the correct named virtual host (according to the host header); the only problem is that the certificate the server will use for authenticating to the client is the one defined in the first of the virtual hosts. At the time of SSL session e

RE: [EMAIL PROTECTED] Add new Handler/Filter in Apache 2.0

2006-05-03 Thread Axel-Stéphane SMORGRAV
Start by reading the mod_filter documentation. -ascs From: Tiago Semprebom [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:51 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Add new Handler/Filter in Apache 2.0 I need to insert a new Handle

RE: [EMAIL PROTECTED] problem installing apache2.0.55 on Soalris 10

2006-05-03 Thread Axel-Stéphane SMORGRAV
Can you see any reason why it would be looking for Apache header files under /tmp/httpd-2.0.55 ?? Did you by any chance at some point untar the Apache distrib under /tmp, run the configure script and then copy /tmp/httpd-2.0.55 to /export/home/netiq/sol ? -ascs

RE: [EMAIL PROTECTED] Redirect question

2006-05-02 Thread Axel-Stéphane SMORGRAV
That's called "reverse proxying". Have a look at mod_proxy. -ascs -Original Message- From: Matthew Claridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 11:22 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Redirect question Hi, This might seem like a really stoopid q

RE: [EMAIL PROTECTED] mod_cache

2006-05-02 Thread Axel-Stéphane SMORGRAV
IETF RFC2616 (www.ietf.org) -ascs -Original Message- From: Michael Conlen [mailto:[EMAIL PROTECTED] Sent: Monday, May 01, 2006 5:19 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] mod_cache I'm considering using mod_cache for a server but I haven't seen any documentation on ho

RE: [EMAIL PROTECTED] SSL & nonsecure items

2006-04-26 Thread Axel-Stéphane SMORGRAV
Make those links relative instead of absolute, i.e. yank the scheme://host part. That will do the trick -ascs -Original Message- From: Warhurst, SI (Spencer) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 5:45 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] SSL

RE: [EMAIL PROTECTED] Need a mod-rewrite rule for a website's home page

2006-04-26 Thread Axel-Stéphane SMORGRAV
What 'bout this? RewriteRule ^/About/([^/]+)/?$ /About/index.php?bout=$1 [L] RewriteCond $1 !=About RewriteRule ^/([^/]+)/?$ /index.php?home=$1 [L] -ascs From: David Blomstrom [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 2:59 PM To: users@httpd.ap

RE: [EMAIL PROTECTED] Problems with Apache 2.2.0 as a conventional proxy

2006-04-26 Thread Axel-Stéphane SMORGRAV
There has previously been some discussion on this list about the virtues of memory caching versus disk caching. As I recall nobody ever claimed to have observed performance gains using mod_mem_cache. I have myself not bothered to run any load tests in an attempt to measure the benefits of mod_m

RE: [EMAIL PROTECTED] Problems with Apache 2.2.0 as a conventional proxy

2006-04-26 Thread Axel-Stéphane SMORGRAV
I had a similar problem when using both mod_mem_cache and mod_disk cache with Apache 2.0.54. I ended up abandoning mod_mem_cache and never experienced the problem again. I may even have posted a bug report... but back then mod_cache did not get much TLD from developers who were, as I understand

RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-26 Thread Axel-Stéphane SMORGRAV
Your requirements are spinning around in my head and I am a little confused :-) but if that's what you need, your rules seem good to me. You can trace every step of the rewriting process in the rewrite log, so you should easily be able to adjust your rules according to what you observe in the

RE: [EMAIL PROTECTED] rewrite and virtualdocumentroot question

2006-04-21 Thread Axel-Stéphane SMORGRAV
I am afraid that mod_rewrite will process the request *before* mod_vhost_alias. Therefore, in order to achieve what you want, I think you will need to abandon mod_vhost_alias and rely solely on mod_rewrite. For the user directories, maybe: RewriteMaplowercase int:tolower RewriteCond %{HT

  1   2   3   4   5   >