This is my config fot this vhost 

vserver!20!disabled = 0
vserver!20!document_root = /dev/null
vserver!20!match = rehost
vserver!20!match!regex!1 = www\.(.+)$
vserver!20!nick = www redirect
vserver!20!rule!10!expiration = epoch
vserver!20!rule!10!expiration!caching = no-cache
vserver!20!rule!10!expiration!caching!must-revalidate = 1
vserver!20!rule!10!expiration!caching!no-store = 1
vserver!20!rule!10!expiration!caching!no-transform = 0
vserver!20!rule!10!expiration!caching!proxy-revalidate = 1
vserver!20!rule!10!handler = redir
vserver!20!rule!10!handler!rewrite!10!regex = /(.*)$
vserver!20!rule!10!handler!rewrite!10!show = 1
vserver!20!rule!10!handler!rewrite!10!substring = http://^1/$1
vserver!20!rule!10!match = default

Tried disabling caching, but have not solved it so far.

Thanks for your help

René

Van: Alvaro Lopez Ortega [mailto:[email protected]] 
Verzonden: donderdag 30 december 2010 9:14
Aan: Rene Klomp
CC: [email protected]
Onderwerp: Re: [Cherokee] All www redirect

Hi Rene,

On 30/12/2010, at 09:04, Rene Klomp wrote:


Only fund out a strange problem.
It is cached (on the server I think) so when you visit one subdomain with www 
infront. That subdomain is cached and if you vistit another subdomain after 
that is redirects to the first.
 
Example:
Vistit
www.sub1.example.com redirects to sub1.example.com
then visit
www.sub2.example.com and it also redirects to sub1.example.com

There is no caching involved in the substitution mechanism. Most likely, the 
problem is related to the configuration. May I see your configuration file, 
please?

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to