~ocsinventory-dev/ocsinventory-server/stable-2.1

« back to all changes in this revision

Viewing changes to Apache/ocsinventory.conf

  • Committer: Didier Liroulet
  • Date: 2006-03-19 15:09:38 UTC
  • Revision ID: didier@ocsinventory-ng.org-20060319150938-thmd36q7j9roq0ng
OCS Inventory NG 1.0 RC3 New directory structure


Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
################################################################################
 
2
#
 
3
# OCS Inventory NG Communication Server Perl Module Setup
 
4
#
 
5
# Copyleft 2006 Pascal DANEK
 
6
# Web: http://ocsinventory.sourceforge.net
 
7
#
 
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
################################################################################
 
12
 
 
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
 
17
 
 
18
# Where to write detailled logs
 
19
PerlSetEnv OCS_LOGPATH "/var/log/ocsinventory-NG"
 
20
 
 
21
#Database options
 
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
 
28
 
 
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
 
37
# Optional modules
 
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
 
43
 
 
44
############ DO NOT MODIFY BELOW ! #######################
 
45
 
 
46
PerlModule Apache::DBI
 
47
PerlModule Compress::Zlib
 
48
PerlModule XML::Simple
 
49
PerlModule Apache::Ocsinventory
 
50
 
 
51
# From apache_config
 
52
<Location /ocsinventory>
 
53
        order deny,allow
 
54
        allow from all
 
55
        Satisfy Any
 
56
        SetHandler perl-script
 
57
        PerlHandler Apache::Ocsinventory
 
58
</Location>