Answer the question
In order to leave comments, you need to log in
Redirect to another server at 404
There is a site with content. After a certain time, the files become "outdated" and are sent to another server. I don't want to mess around with databases in terms of generating new links, I want to do it using apache:
The file is stored on the server example.com/prefix/path_to_file how can I redirect to files.example.com/path_to_file with 404?
Answer the question
In order to leave comments, you need to log in
httpd.apache.org/docs/2.0/rewrite/rewrite_guide_advanced.html#redirect404
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question