Extend depth of .htaccess to all subfolders and their children
- by JoXll
I need to be able to use .htaccess in all subfolders for full depth. E.g. I have .htaccess in public_html folder:
\public_html\.htaccess
How I make it to work for the folder small as well?
\public_html\home\images\red\thumbs\small\
It only enforces up to home directory not more.
ErrorDocument 403 http://google.com
Order Deny,Allow
Deny from all
Allow from 11.22.33.44
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]