468,505 Members | 1,939 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

htaccess force download all file include subfolder

Hello, I have some htaccess question in here.

I have folder and subfolder and want to force download all file in this folder and also subfolder to.

Here is my folder look like.

folder => sub1
=> sub2
=> sub3

Once i create htaccess with

<Files *.*>
ForceType application/octet-stream
Header set Content-Disposition attachment

And place to folder and i can get only file place in folder to be downloaded. So it mean i need to place all this htaccess file in subfolder too ?

Many thz, And may apologize for my English
Jul 14 '14 #1
0 5307

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Matthew Sims | last post: by
2 posts views Thread by Guoqi Zheng | last post: by
7 posts views Thread by tma | last post: by
13 posts views Thread by ron1972 | last post: by
reply views Thread by comp.lang.php | last post: by
1 post views Thread by Zabivb | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.