[EMAIL PROTECTED] Combining caching and rewrites

2008-11-25 Thread wi
Hi All I have a response from an expensive backend service that I would like to cache. We already do some caching of static content, and that works fine. However, the response that I want to cache is normally generated by a rewrite (the last three lines below). So, if I add some caching directives

[us...@httpd] Changes to mod_rewrite and mod_proxy 2.2.8 to 2.2.11

2009-01-20 Thread wi
Hi all Our site is upgrading from 2.2.8 to 2.2.11, and we're getting some unexpected behaviour. Our current configuration makes heavy use of the [NE] flag. For instance RewriteRule ^/(.*) balancer://delta/$1 [P,NE,L] However, in the upgraded server the [NE] no longer appears to be supported. I

[us...@httpd] Dynamically Updating Rewrite rules etc.

2009-03-11 Thread wi
Hi all Our architecture has a cluster of Apache servers behind an industrial strength load balancer. The Apache servers basically examine each request (REST requests, actually) and dispatch to back end applications depending on this parsing. At this stage, each back-end application has to be set

Re: [us...@httpd] Dynamically Updating Rewrite rules etc.

2009-03-12 Thread wi
Thanks for the suggestion - this looks promising. cheers Wayne On Thu, Mar 12, 2009 at 3:37 AM, Krist van Besien wrote: > On Wed, Mar 11, 2009 at 9:34 PM, wi wrote: >> >> It would be nice if there was a way to dynamically update this routing >> information without having

[EMAIL PROTECTED] Proxying GET and POST requests

2007-04-22 Thread wi
Hi all We have a need (driven by some load/caching issues) to split our incoming traffic so that GET requests go to one set of servers and POST requests go to another part of the farm. Unfortunately, there's no simple URI based way of identifying which is which, so I'm wondering whether there is

[EMAIL PROTECTED] Request buffering with mod_proxy

2007-04-25 Thread wi
Hi all Could anyone say to what degree mod_proxy buffers a request prior to passing it on? Thanks Wayne -- 2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+

[EMAIL PROTECTED] mod_proxy request buffering

2007-04-27 Thread wi
Hi all Could anyone say to what degree mod_proxy buffers a request prior to passing it on? For long running requests (users on slower connections doing uploads) we would prefer the proxy to read the request in its entirety before passing it on to the backend. That way we don't have to commit sign

[EMAIL PROTECTED] mod_proxy request buffering

2007-04-27 Thread wi
Hi all Could anyone say to what degree mod_proxy buffers a request prior to passing it on? For long running requests (users on slower connections doing uploads) we would prefer the proxy to read the request in its entirety before passing it on to the backend. That way we don't have to commit sign

[EMAIL PROTECTED] SSL Proxy to back end servers

2007-04-30 Thread wi
Hi all I have an Apache instance that is functioning as a reverse proxy for our app server. For standard http, this works fine. However, we'd like to send SSL traffic through the proxy to the back end server. I don't want to decrypt the traffic at the Apache instance, just re-route it to the back

[EMAIL PROTECTED] mod_cache setup

2007-07-11 Thread wi
Hello I'm trying to figure out if my simple mod_cache setup is working. I compiled the mod_cache modules (mod_cache, mod_disk_cache and mod_mem_cache) and put together a simple configuration. The server starts up without a murmur, but I'm not sure that the caching is actually taking place. In my

[EMAIL PROTECTED] RewriteRule advice

2007-08-06 Thread wi
Hi all I need to create a rule to map requests such as /names/123/data to /names/1/2/3/data I can't control how many digits I need to split up like this, which is where my regex skillz are breaking down. Any ideas? thanks Wayne -- 2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+

[EMAIL PROTECTED] mod_cache and wildcard url's

2007-08-09 Thread wi
Hi again I have a REST-based application that is getting quite loaded. I need to begin caching some dynamically generated png files that are created by the command: /users//games/user_score Ideally, I'd like to create a caching directive along the following lines: CacheEnable disk /users/*/game

[EMAIL PROTECTED] mod_cache configuration issue

2007-08-10 Thread wi
Hi all We've made progress with our caching situation. However, we've discovered a problem when caching for urls containing query strings. When the url does not contain a query string, the object is cached as expected, and the debug logging supports this. On the other hand, when the url contains

Re: [EMAIL PROTECTED] mod_cache and wildcard url's

2007-08-10 Thread wi
o a new virtual host, which in turn is home to the cache. So far, it seems to be working. I admit that it's probably not an optimal solution, but it's reducing load on the back-end cluster significantly. Once again, thanks for the help! Wayne On 8/9/07, Joshua Slive <[EMAIL PRO

Re: [EMAIL PROTECTED] mod_cache configuration issue

2007-08-11 Thread wi
th it. Is there anything we should be aware of when going live with a version like this? I want to have a handle on the potential gotchas so that we can remedy them as soon as they occur. Thanks Wayne On 8/10/07, Joshua Slive <[EMAIL PROTECTED]> wrote: > > On 8/10/07, wi <

[EMAIL PROTECTED] Apache Management and Monitoring

2007-08-13 Thread wi
Hi all Our SA's are used to using SPS to manage our deployments, but they're asking whether there are any tools they could use to manage Apache configurations across a growing cluster. What recommendations do folks have? Doesn't have to be free or open-source, although both would be preferable.

Re: [EMAIL PROTECTED] Mod Rewrite Help

2007-08-17 Thread wi
You'll need to configure a virtual host listening to the 8765 interface. Once you've done that, you will simply need to put together a rewrite to send requests to /abc.html to whatever target url you want. Start by reading http://httpd.apache.org/docs/2.2/vhosts/ >From there, configuring the rewr

[EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-27 Thread wi
Hi all I have a need to create a RewriteRule that will take something like /clubhouse/1234567/mediafile.jpg and turn it into /clubhouse/1/2/3/4/5/6/7/mediafile.jpg It seems like a relatively simple thing, but the number of digits in the source URI could be anything between 1 and 18, so the reg

Re: [EMAIL PROTECTED] Looking for RewriteRule regex aid

2008-02-28 Thread wi
This was exactly what I needed. Thanks. I was in the vicinity, but the piece that I was missing was the initial (\d+). cheers Wayne On Thu, Feb 28, 2008 at 3:30 AM, Krist van Besien <[EMAIL PROTECTED]> wrote: > On Thu, Feb 28, 2008 at 7:23 AM, wi <[EMAIL PROTECTED]> wrote:

Re: [EMAIL PROTECTED] Configuration problem

2008-04-07 Thread wi
Do you have IIS running on this box? If so, you can stop it from the admin panel. cheers On Mon, Apr 7, 2008 at 9:43 AM, Evelyn Wilkerson <[EMAIL PROTECTED]> wrote: > > > > > That still didn't work so I uninstalled and am reinstalling it. When I went > through the installation process it asked m

[EMAIL PROTECTED] mod_rewrite, mod_proxy and http status codes

2008-05-05 Thread wi
Hi all I have a 2.2.8 server directing traffic (mod_rewrite) to a bunch of back-end servers. We use a 499 status code from the back end to indicate some sort of error condition to clients. When the clients access the back-end directly, there is no problem. When an error ocurrs, they get the 499.