
zawierta at gmail
Apr 3, 2012, 5:52 AM
Views: 109
Permalink
|
Hello, Is it possible to handle such case: my webapp is running on http://10.0.0.10:8888/content/site/EN.html and whole site is on base url: http://10.0.0.10:8888/content/site/. I want to make my site available via Varnish on url: http://mysite.mydomain.com/ - I want to remove whole stuff after / from url. Rule: sub vcl_recv { if (req.http.host ~ "^(www\.)?mysite\.mydomain\.com$" ) { set req.url = regsub(req.url, "^/content/site/", "/"); } } isn't working at all. Regards R.
|