mod_rewrite: Redirect request to subdir with many subfolders of different structures + redirect to index.php
问题 I need to create a following rule to place in my .htaccess For each request i'd like to execute file/path in subfolder subdir. If the file doesn't exist there then i'd like to forward this request to index.php Let say that .htaccess iw placed at http://domain/folder When the user opens url http://domain/folder/Subfolder/xxx.html he should recieve file from http://domain/folder/subdir/Subfolder/xxx.html So these rules have to consider the fact that there are subfolders inside subdir.