.htaccess redirect if folder name in url
问题 using .htaccess, I'm looking to redirect a URL from one folder to another. For example, if a user requests 'forbiddenFolder' http://www.mysite.com/forbiddenFolder/subfolder or http://www.mysite.com/forbiddenFolder/somefile.php or http://www.mysite.com/forbiddenFolder/somefile.swf or http://www.mysite.com/forbiddenFolder/somefile.f4v . they should be redirected to http://www.mysite.com/forbidden.php I don't want to lockdown the directory itself since there are resources there that are required