Re: [users@httpd] Proxing to multiple backend servers(not load balancer)

2011-04-02 Thread Raino Kolk
On 01.04.2011 23:23, Jim Jagielski wrote: A request comes into Proxy. It then proxies that request to*both* CS and NS.*Only* the CS response will be sent to the client; the NS response will be logged... (where??, on NS or Proxy??). Hi, Logging is not problem. Logging can be done in NS or in

Re: [users@httpd] Rewrite inside Location directive

2011-04-02 Thread Michele Mase'
From the official documentation: http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule Context: http://httpd.apache.org/docs/2.2/mod/directive-dict.html#Contextserver config, virtual host, directory, .htaccess ... Although rewrite rules are syntactically permitted in

Re: [users@httpd] Rewrite inside Location directive

2011-04-02 Thread Rich Bowen
On Apr 1, 2011, at 2:28 PM, Jose Legido j...@legido.com wrote: Hello I want to make a Rewrite into a Location directive, but looks at filesystem, I want to redirect: Location /old RewriteRule ^/old(.*) http://%{HTTP_HOST}//new [PT] /Location Outside of Location works. Outside of

Re: [users@httpd] Rewrite inside Location directive

2011-04-02 Thread Rich Bowen
Location /old RewriteRule ^/old(.*) http://%{HTTP_HOST}//new [PT] /Location By the way, there are much better ways to do this. Basically what you're saying there is Alias /old /path/to/new which would be more efficient

[users@httpd] Problems with mod_rewrite

2011-04-02 Thread Greg Allen
Hello, I am having problems getting mod_rewrite to work for me. I have a simple rewrite program written in perl. I have configured rewrite in the httpd.conf file and turned on logging. It looks as though my map program is being called, but no value is being returned from the program (as

Re: [users@httpd] Problems with mod_rewrite

2011-04-02 Thread Eric Covener
You have to capture something to use $1 as your key On Apr 2, 2011 4:19 PM, Greg Allen gal...@mycalet.com wrote: Hello, I am having problems getting mod_rewrite to work for me. I have a simple rewrite program written in perl. I have configured rewrite in the httpd.conf file and turned on

Re: [users@httpd] Proxing to multiple backend servers(not load balancer)

2011-04-02 Thread Nick Kew
On Fri, 01 Apr 2011 23:18:02 +0300 Raino Kolk x...@hot.ee wrote: Is this achievable in Apache? If CS returns a page with an include (e.g. SSI) generating a request to NS, would that meet your needs? -- Nick Kew Available for work, contract or permanent. http://www.webthing.com/~nick/cv.html

Re: [users@httpd] Caching module

2011-04-02 Thread Nick Kew
On Fri, 1 Apr 2011 16:24:31 -0700 Mohit Anchlia mohitanch...@gmail.com wrote: Apache 2: Is there any caching module in apache that will also keep cache in sync accross multiple apache servers (cluster)? How do you mean? Are you thinking of something like a mod_cache backend? You'd be

Re: [users@httpd] Caching module

2011-04-02 Thread Mohit Anchlia
I mean shared data. For eg if I have server 1-4 in one data center and 5-9 in other and when I write keyvalue pair to it updates the cache in nodes 1-9 On Fri, Apr 1, 2011 at 5:28 PM, Nick Kew n...@webthing.com wrote: On Fri, 1 Apr 2011 16:24:31 -0700 Mohit Anchlia mohitanch...@gmail.com wrote:

Re: [users@httpd] Problems with mod_rewrite

2011-04-02 Thread Greg Allen
Thanks! That was it. I knew it was something simple -- Greg On 4/2/2011 5:01 PM, Eric Covener wrote: You have to capture something to use $1 as your key On Apr 2, 2011 4:19 PM, Greg Allengal...@mycalet.com wrote: Hello, I am having problems getting mod_rewrite to work for me. I have a