Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Browsing directories directly https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3294 |
Page 1 of 1 |
Author: | DJF3 [ 2. Apr 2012, 16:00 ] |
Post subject: | Browsing directories directly |
Hi, Just noticed that when I enter the twg URL and add /pictures I can browse through all of my images! #removed_broken_link Gives me a web-based (non-TWG) interface to the folder structure where you can open private.txt files and browse the entire folder structure below /pictures. Is there something I have to do to prevent this from happening? Or is there a setting I have overlooked? (maybe place an empty index.html?) If you have to use .htaccess files for this, does anyone have an example? Cheers DJ |
Author: | TinyWebGallery [ 3. Apr 2012, 13:11 ] |
Post subject: | Re: Browsing directories directly |
Please see howto 1 of the TWG howtos. an example e.g. can be found in the inc folder. Just wondering why not many people seems to read the howtos - they are really helpful . Best, Michael |
Author: | DJF3 [ 4. Apr 2012, 10:16 ] |
Post subject: | Re: Browsing directories directly |
I've read every single how-to. Think that I just might be to stupid When looking at the .htaccess from the inc folder [b]I was under the impression that would block [i]*ALL*[/i] access[/b].. (so I never tried) After testing it looks like this will [i]not[/i] block TWG from showing pictures but it will block anyone else from viewing the file structure in a browser (for example). Is that correct? This means I have to copy this .htaccess file to each folder? DJ |
Author: | TinyWebGallery [ 4. Apr 2012, 11:07 ] |
Post subject: | Re: Browsing directories directly |
. No - .htaccess files work recursively. simply put it in the pictures folder. Best, Michael |
Author: | DJF3 [ 5. Apr 2012, 13:37 ] |
Post subject: | Re: Browsing directories directly |
Thank you! |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |