Using .do extension as .php extension for all php files
2 answers
Another alternative is sethandler
.
According to Apache documentation , the difference is this:
If you prefer only the last dotted part of the filename to match against a specific piece of metadata, then don't use the Add * directives. For example, if you want the foo.html.cgi file to be processed as a CGI script but not bar.cgi.html, then instead of using AddHandler cgi-script.cgi use
<FilesMatch "[^.]+\.cgi$">
SetHandler cgi-script
</FilesMatch></blockquote>
0
source to share