I’m trying to make a custom file extension.
I have all these .PHP files however, and I’ve been trying to figure out how to use this ‘AddType’ conf rule however, nothing works.
I looked at all the tutorials possible, no luck either. I was wondering maybe it might a Virtualmin setting that is disallowing me to change the file name.
I just want the .PHP’s file be executed through .alec instead.
I know there is a way without even editing all the PHP files extensions to .alec, so how can I approach doing this without renaming the PHP files.
I already have a redirect match to redirect any .php link to .alec