[Koha] OPAC files not secured

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Thu Mar 14 02:54:40 NZDT 2013


On Wed, Mar 13, 2013 at 9:51 AM, Sina Stewart <sina_sina1984 at live.com>wrote:

>
> Hi i want to make my opac files not accessible from the browser to any one,
>  like http://192168.1.168 /opac-tmpl/prog/en/
> the prog, en, modules and lib folders can accessed from any body  and
> browsing all included files,
> any suggestions to solving this :)
> thank you at all
>

Sina,

edit your koha-httd.conf, and after your DocumentRoot add lines
tu restric directory indexes

   DocumentRoot /usr/share/koha/opac/htdocs
   <Directory /usr/share/koha/opac/htdocs>
        Options -Indexes
   </Directory>


Regards,
Bernardo
-- 
Bernardo Gonzalez Kriegel
bgkriegel at gmail.com


More information about the Koha mailing list