1
################################################################################
3
# OCS Inventory NG Communication Server Perl Module Setup
5
# Copyleft 2006 Pascal DANEK
6
# Web: http://ocsinventory.sourceforge.net
8
# This code is open source and may be copied and modified as long as the source
9
# code is always made freely available.
10
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
11
################################################################################
13
# Which version of mod_perl we are using
14
# For mod_perl <= 1.999_21, set 1
15
# For mod_perl > 1.999_21, set 2
16
PerlSetEnv OCS_MODPERL_VERSION 1
18
# Where to write detailled logs
19
PerlSetEnv OCS_LOGPATH "/var/log/ocsinventory-NG"
22
PerlSetEnv OCS_DB_NAME ocsweb
23
PerlSetEnv OCS_DB_LOCAL ocsweb
24
PerlSetEnv OCS_DB_USER ocs
25
PerlSetEnv OCS_DB_PWD ocs
26
PerlSetEnv OCS_DB_PORT 3306
27
PerlSetEnv OCS_DB_HOST localhost
29
# The options below are overloaded if you are using ocs GUI
30
# Be careful: you must restart apache to have any effects
31
PerlSetEnv OCS_OPT_FREQUENCY 3
32
PerlSetEnv OCS_OPT_DEPLOY 0
33
PerlSetEnv OCS_OPT_TRACE_DELETED 0
34
PerlSetEnv OCS_OPT_AUTO_DUPLICATE_LVL 7
35
PerlSetEnv OCS_OPT_LOGLEVEL 0
36
PerlSetEnv OCS_OPT_PROXY_REVALIDATE_DELAY 3600
38
PerlSetEnv OCS_OPT_IPDISCOVER 1
39
PerlSetEnv OCS_OPT_IPDISCOVER_MAX_ALIVE 7
40
PerlSetEnv OCS_OPT_REGISTRY 0
41
PerlSetEnv OCS_OPT_UPDATE 0
42
PerlSetEnv OCS_OPT_DOWNLOAD 0
44
############ DO NOT MODIFY BELOW ! #######################
46
PerlModule Apache::DBI
47
PerlModule Compress::Zlib
48
PerlModule XML::Simple
49
PerlModule Apache::Ocsinventory
52
<Location /ocsinventory>
56
SetHandler perl-script
57
PerlHandler Apache::Ocsinventory