/etc/apache2/conf-available/web2ldap-fcgid.conf is in web2ldap 1.1.43~dfsg-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 | ########################################################################
# web2ldap under the control of Apache with mod_fcgid
#
# application is access through following URL:
# http://<servername>/web2ldap
#
# See mod_fcgid docs on:
# http://httpd.apache.org/mod_fcgid/
########################################################################
# It should look like this:
#Alias /yourapplication /usr/share/yourapplication
#<Directory /usr/share/yourapplication>
#..
#</Directory>
# Load and install module mod_fcgid
#LoadModule fcgid_module /usr/lib64/apache2/mod_fcgid.so
#SocketPath /var/lib/apache2/fcgid
#SharememPath /var/run/fcgid_shm
ScriptAlias /web2ldap /usr/share/web2ldap/fcgi/web2ldap.py
Alias /web2ldap-doc /usr/share/web2ldap/htdocs
Alias /css/web2ldap /usr/share/web2ldap/htdocs/css/web2ldap
# Force use of a pseudo-random salt to make hash() values
# in Python 2.6.8+ and Python 2.7.3+ to avoid DoS attacks
FcgidInitialEnv PYTHONHASHSEED random
IdleTimeout 7200
BusyTimeout 600
ErrorScanInterval 60
ZombieScanInterval 10
ProcessLifeTime 86400
MaxProcessCount 1
IPCConnectTimeout 60
IPCCommTimeout 600
<Location /web2ldap>
SetHandler fcgid-script
Options ExecCGI
<IfDefine SSL>
# Tell mod_ssl to set the SSL standard env vars
SSLOptions +StdEnvVars
</IfDefine>
<Limit GET POST>
<IfVersion >= 2.4>
Require local
</IfVersion>
<IfVersion < 2.4>
# This will trigger Lintian (#710656, override in place)
Order allow,deny
Allow from 127.0.0.1
Allow from ::1
</IfVersion>
</Limit>
</Location>
<Directory /usr/share/web2ldap/htdocs>
DirectoryIndex web2ldap.html
<Limit GET>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
<IfVersion < 2.4>
Order allow,deny
Allow from All
</IfVersion>
</Limit>
</Directory>
|