This file is indexed.

/usr/share/doc/ledgersmb/examples/ledgersmb-httpd-2.0-2.2.conf.template is in ledgersmb 1.3.40-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This file must be edited to substitute the current path with WORKING_DIR

Alias /ledgersmb /usr/share/ledgersmb/

<Directory /usr/share/ledgersmb>

  # Rewrite rule to allow HTTP Authorization information to the scripts only
  # from this directory.
  RewriteEngine On

  # Redirect the /ledgersmb and /ledgersmb/ URL paths to
  # the true login script: /ledgersmb/login.pl
  RewriteRule ^/ledgersmb/?$ /ledgersmb/login.pl [R]

  # Indicate that the HTTP Authorization data should be passed
  # to the CGI scripts running from this directory
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

  AllowOverride All
  AddHandler cgi-script .pl
  Options ExecCGI Includes FollowSymlinks

  # By default, only allow from localhost.  If you change this, please be
  # advised that you should use SSL protection on any and all network
  # connections that access this application in order to protect usernames and
  # passwords.
  Order Deny,Allow
  Allow from 127.0.0.1
  Allow from localhost
  Deny from All

  # The rest of this file just tightens up security.
  <Files ~ "\.conf$">
    Order Deny,Allow
    Deny from All
  </Files>
</Directory>

<Directory /var/lib/ledgersmb/users>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory /usr/share/ledgersmb/bin>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory /usr/share/ledgersmb/utils>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory /var/lib/ledgersmb/spool>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory /var/lib/ledgersmb/templates>
  Order Deny,Allow
  Deny from All
</Directory>

<Directory /usr/share/ledgersmb/LedgerSMB>
  Order Deny,Allow
  Deny from All
</Directory>

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