Answer the question
In order to leave comments, you need to log in
How to redirect an HTTP request?
Good day
I have a site on it is a text file mysite.com/file.txt There is an external site that periodically takes this file. Recently, I have to change this file quite often and for this I wrote a script that does this mysite.com/script.php?task=gen_file Unfortunately, I can’t change the settings on the site that takes the file, hence the question is how using Apache instead of text file mysite.com/file.txt give the result of the script mysite.com/script.php?task=gen_file ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question