
<IfModule mod_rewrite.c>
    RewriteEngine On

    # -- Always Allow These File Types -- #
    RewriteRule "\.(jpe?g|png|ico|gif|svgz?|ttf|eot|woff2?|otf|js|css)$" "-" [PT,L]

    # -- Allow Access to files used by Developer Dubugging Tools -- #
    RewriteRule "\.(map|less|scss)$" "-" [PT,L]

    # -- Vendor Exception List -- #
    # These are file types by vendor file that will bypass the default filtering
    #
    # If you are adding a new vendor that needs browser access, adding a file
    #  type exception will be required.
    RewriteRule "^(bower-asset/wodo.texteditor/wodotexteditor/).*/.*\.(json|html)$" "-" [PT,L]
    RewriteRule "^(xorti/mxgraph-editor/).*/.*(xml|txt|html)$" "-" [PT,L]
    RewriteRule "^(tikiwiki/diagram/).*/.*(xml|txt|html)$" "-" [PT,L]
    RewriteRule "^(npm-asset/pdfjs-dist-viewer-min/).*/.*(js|properties|html|pdf)$" "-" [PT,L]

    # -- Deny Everything Not Matched Above -- #
    RewriteRule "/*" "-" [F]

</IfModule>

