coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: mrinnoncent on November 13, 2006, 10:00:10 AM

Title: How to protect image directories ?
Post by: mrinnoncent on November 13, 2006, 10:00:10 AM
I would like to know how to protect my directories instead of placing index.htm file in all the folders I upload .
Title: Re: How to protect image directories ?
Post by: Joachim Müller on November 13, 2006, 10:16:38 AM
If you're on apache webserver, create a .htaccess file within coppermine's root folder (or add the following line if there already is one) with this content:Options -Indexes