Can anyone tell me how to prevent other directories on my site from being rewritten? I have the following .htaccess file in the site root. Directories such as: /lists.* and /blogs.* are no longer functioning.
ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html
RewriteEngine On
Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
ErrorDocument 401 ./error.html
ErrorDocument 403 ./error.html
RewriteEngine On
Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$
Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
Don't rewrite kremer site directories
RewriteCond %{REQUEST_URI} !^/administration.* [NC]
RewriteCond %{REQUEST_URI} !^/banner.* [NC]
RewriteCond %{REQUEST_URI} !^/bible.* [NC]
RewriteCond %{REQUEST_URI} !^/bible-studies.* [NC]
RewriteCond %{REQUEST_URI} !^/biblewalk.* [NC]
RewriteCond %{REQUEST_URI} !^/bread.* [NC]
RewriteCond %{REQUEST_URI} !^/blogs/* [NC]
RewriteCond %{REQUEST_URI} !^/camera.* [NC]
RewriteCond %{REQUEST_URI} !^/cartTests.* [NC]
RewriteCond %{REQUEST_URI} !^/catalog.* [NC]
RewriteCond %{REQUEST_URI} !^/christmas.* [NC]
RewriteCond %{REQUEST_URI} !^/church.* [NC]
RewriteCond %{REQUEST_URI} !^/confirmationparent.* [NC]
RewriteCond %{REQUEST_URI} !^/downloads.* [NC]
RewriteCond %{REQUEST_URI} !^/email.* [NC]
RewriteCond %{REQUEST_URI} !^/EMailings.* [NC]
RewriteCond %{REQUEST_URI} !^/excelLISTS.* [NC]
RewriteCond %{REQUEST_URI} !^/forms.* [NC]
RewriteCond %{REQUEST_URI} !^/fpp.* [NC]
RewriteCond %{REQUEST_URI} !^/GeneratedItems.* [NC]
RewriteCond %{REQUEST_URI} !^/images.* [NC]
RewriteCond %{REQUEST_URI} !^/images_https.* [NC]
RewriteCond %{REQUEST_URI} !^/lists.* [NC]
RewriteCond %{REQUEST_URI} !^/media.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_spring.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_summer.* [NC]
RewriteCond %{REQUEST_URI} !^/menu_top_winter.* [NC]
RewriteCond %{REQUEST_URI} !^/myfiles.* [NC]
RewriteCond %{REQUEST_URI} !^/originals.* [NC]
RewriteCond %{REQUEST_URI} !^policies.html [NC]
RewriteCond %{REQUEST_URI} !^/printing.* [NC]
RewriteCond %{REQUEST_URI} !^/school.* [NC]
RewriteCond %{REQUEST_URI} !^/search.* [NC]
RewriteCond %{REQUEST_URI} !^/VBS_Downloads.* [NC]
Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
Don't rewrite payment pages/callback handlers
(Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [NC]
Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$
Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
Don't rewrite payment pages/callback handlers
(Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)
RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [NC]
Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]