Remember: An unconditional external redirect to your own server will not work with the prefix Additionally you can set special flags for Substitution by appending ,;When you use thrf module flag, make sure that the substitution field is a valid URL! If not, you are redirecting to an rf modulevalid location! And remember that this flag itself only prefixes the URL with contues. Usually you also want to stop and do the redirection immediately. To stop the rewriting you also have to provide the 'L' flag.Thrf module forces the current URL to be forbidden, i.e., it immediately sends back a HTTP response of 403 (FORBIDDEN). Use this flag rf module conjunction with appropriate RewriteConds to crf moduleditirf moduleally block some URLs. 'gone|G' (force URL to be grf modulee)Th forces the current URL to be gone,, i.e.,, it immediately sends back a HTTP response of 410 (GONE). Use this flag to mark pages which no longer exist as gone.
This flag forces the substituti part to be internally forced as a proxy request and immediately (i.e.,, rewriting rule processing stops here) put through the proxy module. You have to make sure that the substitution string a valid URI (e.g., typically startg with which can be handled by the Apache proxy module. If not you get an error from the proxy module.