[Koha-bugs] [Bug 8007] Discharge management

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 12 15:44:43 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8007

Kyle M Hall <kyle.m.hall at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kyle.m.hall at gmail.com

--- Comment #16 from Kyle M Hall <kyle.m.hall at gmail.com> ---
(In reply to comment #14)
> (In reply to comment #13)
> > I am worried about libraries taking this not seriously or just missing that
> > they should be doing that:
> > 
> > - For a security reason create a .htaccess in your dischargePath with
> >   the following content:
> >       Options -Indexes
> > 
> > Could we provide a standard path and a .htaccess file?
> 
> I don't think so. This file should be placed in the directory pointed out by
> the syspref dischargePath. Moreover the file should have specific rights
> (www-data). We can do that in a patch.
> 
> I complete the RFC page on the wiki.


This can be done! My first iteration of the plugins feature did this. You'll
need to modify the installation files to create var/lib/discharges or such, and
put the .htaccess file there. You can check out early versions of the plugins
patch to see how to do it. The .htaccess I believe will need to go somewhere in
skel skel/var/lib/koha/discharges, and I think that would give a standard path.
If you want to have a nonstandard path, just symlink var/lib/discharges to your
nonstandard path.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list