Simply redirecting a domain, ending with source to target/index.html

Redirecting can also be done with the Redirect Command

Redirecting a complete folder structure can be done like this:

Redirect a request for a specific file to a folder (http://www.test/upload/file.pdf ->
The flag R stands for redirect, L stands for Last (the rule will be executed immediately, without chaining another rule)


Veröffentlicht unter httpd.