Redirect all request to example.com/pics to pics.example.com
Hi!
I would like to create a Rewrite rule which will forward all requests from http://example.com/pics to http://pics.example.com including all arguments. So if someone goes to http://example.com/pics/gallery1/image1.jpg.html it should also be redirected to http://pics.example.com/gallery1/image1.jpg.html
How can I achieve this? I've searching for hours but couldn't find a solution yet.
Any help will be greatly appreciated!
I would like to create a Rewrite rule which will forward all requests from http://example.com/pics to http://pics.example.com including all arguments. So if someone goes to http://example.com/pics/gallery1/image1.jpg.html it should also be redirected to http://pics.example.com/gallery1/image1.jpg.html
How can I achieve this? I've searching for hours but couldn't find a solution yet.
Any help will be greatly appreciated!