Answer the question
In order to leave comments, you need to log in
How to implement file type substitution in .htaccess?
Hello! I heard that you can associate any type of file on the server with another, for example, make .filetype work the same way as html. To do this, you need to specify the mime type in .htaccess, but with such an attempt to "replace" .php with my file format, I did not achieve anything. Tell me how to make it clear to the server that .myfiletype is the same as .php?
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