[GNC-dev] Yet another documentation compiling oddity

John Ralls jralls at ceridwen.us
Fri Sep 14 18:38:10 EDT 2018



> On Sep 14, 2018, at 9:24 AM, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
> 
> 
> 
>> On Sep 14, 2018, at 11:10 AM, John Ralls <jralls at ceridwen.us> wrote:
>> 
>> 
>> We should change the name of gnucash-guide/index.html, but we should also insert an index.html into every directory that raises an error to prevent direct browsing; user access should be via https://www.gnucash.org/docs.phtml <https://www.gnucash.org/docs.phtml> only. 
> 
> By this do you mean you don’t want people to see the contents of the directory?
> 
> If that’s the case, you can accomplish that with an .htaccess directive as follows:
> 
> # disable directory browsing
> Options All -Indexes
> 
> You shouldn’t need ‘dummy’ index.html files.

It's my understanding that that's less than perfect. It's standard practice in the the CMS world to put poisoned index.html files in directories where you don't want browsers poking their noses.

Regards,
John Ralls



More information about the gnucash-devel mailing list