[Pkg-sql-ledger-discussion] Bug#725783: ledgersmb: /var/lib/ledgersmb/css does not work, but /usr/share/ledgersmb/css does

Moshe Yudkowsky moshe at pobox.com
Tue Oct 8 10:37:30 UTC 2013



Package: ledgersmb
Version: 1.3.25-1
Severity: normal

For reasons that I can't understand and have not been able to fix, CSS 
does not work with this package out of the box. The original 
configuration information for /lsmbcss in ledgersmb-httpd.conf gives me 
these errors:

[Mon Oct 07 22:28:44.398525 2013] [authz_core:error] [pid 13615] [client 
127.0.0.1:38057] AH01630: client denied by server configuration: 
/var/lib/ledgersmb/css/ledgersmb.css, referer: 
http://localhost/ledgersmb/login.pl


To fix this, I have substituted the following for the appropriate piece 
of the original configuration:

Alias /lsmbcss /usr/share/ledgersmb/css/
<Directory /usr/share/ledgersmb/css>
   Order Deny,Allow
   Allow from 127.0.0.1
   Allow from localhost
   Deny from All
</Directory>

This works and appears to give identical results in terms of appearance.

-- System Information:
Debian Release: jessie/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), 
(500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ledgersmb depends on:
ii  apache2                                    2.4.6-3
ii  apache2-bin [httpd-cgi]                    2.4.6-3
ii  dbconfig-common                            1.8.47+nmu1
ii  debconf [debconf-2.0]                      1.5.51
ii  libcgi-simple-perl                         1.113-2
ii  libconfig-any-perl                         0.24-1
ii  libconfig-std-perl                         0.901-1
ii  libdatetime-perl                           2:1.03-1+b1
ii  libdbd-pg-perl                             2.19.3-2
ii  libdbi-perl                                1.628-1+b1
ii  liberror-perl                              0.17-1.1
ii  libfile-mimeinfo-perl                      0.18-1
ii  libhtml-parser-perl                        3.71-1+b1
ii  libio-stringy-perl                         2.110-5
ii  liblocale-maketext-lexicon-perl            0.96-1
ii  liblog-log4perl-perl                       1.29-1
ii  libmime-lite-perl                          3.028-1
ii  libtemplate-perl                           2.24-1.1+b1
ii  perl                                       5.18.1-4
ii  postgresql-client                          9.3+149
ii  postgresql-client-8.3 [postgresql-client]  8.3.12-0lenny1
ii  postgresql-client-9.1 [postgresql-client]  9.1.9-5
ii  postgresql-client-9.3 [postgresql-client]  9.3.0-2
ii  postgresql-contrib                         9.3+149
ii  thttpd [httpd-cgi]                         2.25b-11

Versions of packages ledgersmb recommends:
ii  libmath-bigint-gmp-perl        1.37-3
ii  libopenoffice-oodoc-perl       2.125-2
ii  libparse-recdescent-perl       1.967009+dfsg-1
pn  libtemplate-plugin-latex-perl  <none>
ii  ssmtp [mail-transport-agent]   2.64-7
ii  texlive-latex-recommended      2013.20130918-1

Versions of packages ledgersmb suggests:
ii  cups-bsd [lpr]      1.6.3-1
pn  latex-cjk-all       <none>
pn  libimage-size-perl  <none>
pn  libnet-tclink-perl  <none>
ii  postgresql          9.3+149

-- Configuration Files:
/etc/apache2/conf.d/ledgersmb-httpd.conf [Errno 2] No such file or 
directory: u'/etc/apache2/conf.d/ledgersmb-httpd.conf'
/etc/ledgersmb/ledgersmb.conf changed [not included]

-- debconf information:
* ledgersmb/debconf_install: false
   ledgersmb/admin_login: ledgersmb
-- 
Moshe Yudkowsky * moshe at pobox.com * www.pobox.com/~moshe
  "There are more ways to skin a cat than nuking it from orbit
     -- but it's the only way to be sure."
     				-- Eliezer Yudkowsky



More information about the Pkg-sql-ledger-discussion mailing list