Tag Info

New answers tagged


Here is the MediaWiki documentation for mime type detection. It says that you need to add modify two files: mime.types Add conf to the text/plain line mime.info Ensure that text/plain is on the line ending in [TEXT]


The problem is that you have a api directory. The Apache code that handles redirects to add slashes to the directory is happening before the rewrite rule. Move your api directory to something else (like apiscripts) and then use the rewrite rule: RewriteRule ^api$ apiscripts/index.php [L,QSA] You need the flags on the rewrite rule: L (last) -- so ...

Top 50 recent answers are included