Forum Discussion
2 Replies
Sort By
Should be no problem. Do you want to rewrite any uris that does not start with /website before passing it on to the pool?
Try this:
when HTTP_REQUEST { set uri [string tolower [HTTP::uri]] if { !($uri starts_with "/website/" } { HTTP::uri "/website/" } }
/Patrik
I see. Let's stay that you rewrite all request URIs to "/website/" before passing it on to the servers. If the html returned for /website/ includes a picture called mike.jpg this would cause /mike.jpg to become /website/ too. Is this was you want?
By multiple URL's, do you mean multiple domains or uris, or both?
/Patrik