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 Allen" wrote: Hello, I am having problems getting mod_rewrite to work for me. I have a simple rewrite p

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 wrote: > On Fri, 1 Apr 2011 16:24:31 -0700 > Mohit Anchlia wrote: > >> Apache 2: >> >> Is there any cac

Re: [users@httpd] Caching module

2011-04-02 Thread Nick Kew
On Fri, 1 Apr 2011 16:24:31 -0700 Mohit Anchlia 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 defeating the purpose of

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 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] 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" 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 logging. It lo

[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 you

Re: [users@httpd] Rewrite inside Location directive

2011-04-02 Thread Rich Bowen
RewriteRule ^/old(.*) http://%{HTTP_HOST}//new [PT] 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

Re: [users@httpd] Rewrite inside Location directive

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

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: server config, virtual host, directory, .htaccess ... Although rewrite rules are syntactically permitted in