Answer the question
In order to leave comments, you need to log in
HTACCESS how to try to issue a file with one extension, but if it is not there, then try with another one?
Good for all.
I have the following task:
Given: in the uploads folder there is a file 1.xml and 2.html Needed
: it is necessary that the url opens: /upload/1.xml and /upload/2.xml so that in the second case Apache would give 2 instead of 404 .html
A big request to help with the rules in the version of universal file names, that is, variables ...
I googled for a long time, I will continue to google, but if anyone can help I will be very grateful.
Thanks in advance!
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