ameisez Posted September 24, 2009 Share Posted September 24, 2009 Hi,is it possible to make one .htaccess file on my root folder and settings will be applied all sub folders.I want fo force download mp3 files on my folder. I google and found that this htaccess code will do the trick. <Files *.mp3>ForceType application/octet-streamHeader set Content-Disposition attachment</Files> But I have many subfolders, I want, if possible, to just create one htaccess file to put in the root folder and settings will be applied to sub folders.Thanks Link to comment Share on other sites More sharing options...
jlhaslip Posted September 25, 2009 Share Posted September 25, 2009 The .htaccess file in your account 'root' folder will (or should) apply to all sub-folders unless the .htaccess file of the sub-folder over-rides the .htaccess in the root. If you want the 'root' .htaccess to be the dominate one, simply do not create one on the sub-folder. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.