mod rewrite - .htaccess rules to ignore the main directory .htaccess file if specific subfolder is requested in URI -
i have 3 subfolders /software1/
, /software2/
, /software3/
3 different applications in main root directory domain.com
. .htaccess
rules these subfolders interfering .htaccess
file in main directory. so, wonder if there rule add .htaccess
file in main directory ignore rest of file , directly jump /software1/
, /software2/
, /software3/
subfolders (i.e. .htaccess
files) if uri http://domain.com/software1/...
, http://domain.com/software2/...
, http://domain.com/software3/...
?
it have been nice see current .htaccess rules can see it's doing or not doing. if want not 3 directories, can try in main .htaccess , have not if 1 of 3 directories.
rewriteengine on rewriterule ^(software1|software2|software3)$ - [l,nc]
Comments
Post a Comment