Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Url Rewrite all files from a directory to another

$
0
0

Hi all

I want redirect all files and subfolder from a website directory to another directory of my website.

But i achieved to do that, but only but a rule for each file on this directory, one by one...

I try to do just one rule for this.

On the inbound rule, i put {HTTP_HOST} mathes the pattern myhost.website.com, and {URL} matches the pattern "media/template/". And i want redirect all of my request from this host and to all files in /media/template/ to /media/perso/.

For example, a request to myhost.website.com/media/template/my.css to myhost.website.com/media/perso/my.css .

Can you help me?

Thanks a lot


Viewing all articles
Browse latest Browse all 27852

Trending Articles