I have a url that always begins with ww, ie http://domain.tdl/ww/en/..., I want
to rewrite the url to include the ww,
I tried the below, it works, but changes the path or something,
because it cause the resources like css and images to not appear (404),
does anyone know how to fix this or do this
On Thu, Jul 3, 2014 at 9:38 PM, Jeffrey Scott Flesher Gmail
wrote:
> I have a url that always begins with ww, ie http://domain.tdl/ww/en/..., I
> want to rewrite the url to include the ww,
> I tried the below, it works, but changes the path or something,
> because it cause the resources like css a
I have a URL lets say:
http://example.com
I want it to be rewritten by haproxy to:
http://example.com/ww
All I want is for haproxy to rewrite the URL only if it does not have
any path, ie http://example.com, then add the ww to it, so it becomes
http://example.com/ww
I do not have Apache on the ser
If a Picture is worth a 1000 Words:
If the url does not have any path like this:
http://mad-news.net/
acl has_ww_uri path_beg -i /ww
returns false
reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri
http://mad-news.net/ww/en/
it adds the ww, the program with is wthttpd (Wt) defaults to en for
langu
On Fri, Jul 4, 2014 at 8:42 PM, Jeffrey Scott Flesher Gmail
wrote:
> If a Picture is worth a 1000 Words:
> If the url does not have any path like this:
> http://mad-news.net/
>
> acl has_ww_uri path_beg -i /ww
> returns false
>
> reqirep ^([^\ :]*)\ /(.*) \1\ /ww/\2 if !has_ww_uri
> http://mad-new
5 matches
Mail list logo