How can i redirect all requests passed to

http://mysite.com/css 

to http://otherserver.otherserver.com/css ?

User typing

http://mysite.com/css/somefile.css

and go redirect to

http://otherserver.otherserver/css/comefile.css 

Regards

link|improve this question

0% accept rate
feedback

1 Answer

I found it :)

RewriteRule ^css(.*)$ http://www.someserver.com/css$1 [L,R=301]
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.