Wedge
Public area => The Pub => Bug reports => Topic started by: Arantor on February 29th, 2012, 02:03 PM
-
This is an interesting one, if you use a new folder to store attachments in.
I don't know if Aeva does anything like that when making a new album folder, but it might be interesting to note whether it does or not. If it does, the .htaccess file is going to be different.
In fact, now that I think about it, that's not a bad idea even for Aeva - provided there is a rule to determine between thumbnails and regular files: thumbnails do not need to be blocked from being served but regular attachments probably should (so they're pushed through the code layer instead)
-
There's also a related bug in SMF about the cache folder where it won't reinstate the index.php or .htaccess files if removed from the top level cache folder.
What it might also be worth doing is setting up a web.config file for IIS which works in a similar way as I understand it (need to talk to some IIS folks about that, really - it isn't common but it should be handled if possible)
-
AeMe does it, btw. :) iirc!
-
Does AeMe create these? You, sir, win an internet if it does.
-
Also, having investigated web.config files, it seems that these won't help matters because they don't seem to kick in except on .asp/.aspx files.
-
I think I discussed it with Dragooon and he implemented it. So do we both win? Unless he remembers otherwise ;)
-
You both win an internet ^_^
-
I already have one and it won't fit in my closet, so I'll just give it to a NGO in Africa or something if you don't mind!
Which still leaves us with the necessity to add these files indeed... But it's just as easy as @copie() :P