1 (edited by amkx06 2016-04-18 15:04:06)

Topic: Excluding a folder or subfolder in .htaccess

I've tries most of the possible ways to exclude a directory from Rewrite rule in .htaccess. But it is not working. Neither is subfolder .htaccess taking over the parent.
I want to exclude "public/uploads/newfolder"
Help please!
Current .htaccess is default monstra.

# This file is part of the Monstra.
# (c) Romanenko Sergey / Awilum 
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
# Set default charset utf-8
AddDefaultCharset UTF-8
# PHP 5, Apache 1 and 2.

    php_flag magic_quotes_gpc                 off
    php_flag magic_quotes_sybase              off
    php_flag register_globals                 off

    RewriteEngine on
    ## Begin - Rewrite rules to block out some common exploits.
    # If you experience problems on your site block out the operations listed below
    # This attempts to block the most common type of exploit `attempts` to Monstra
    # Block out any script trying to base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a