summaryrefslogtreecommitdiffstats
path: root/ocsinventory-reports.conf
blob: 2c2b86c21c9cc269ac2297eca6919c10d3fd1dc3 (plain)
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
################################################################################
#
# OCS Inventory NG Administration Server
#
# Copyleft 2008 OCS Inventory NG Team
# Web: http://www.ocsinventory-ng.org
#
# This code is open source and may be copied and modified as long as the source
# code is always made freely available.
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
################################################################################

#
# ANY CHANGE ON THIS FILE REQUIRES APACHE RESTART TO TAKE EFFECT
#

################################################################################
# Administration console public pages
# 

# Uncomment if you want a virtual host for OCS Inventory NG
#<VirtualHost *:80>
#        ServerName   ocsinventory-ng
#        ServerAlias  ocsinventory-ng.yourdomain.tld
#        DocumentRoot PATH_TO_OCSREPORTS_DIR

Alias OCSREPORTS_ALIAS PATH_TO_OCSREPORTS_DIR

<Directory PATH_TO_OCSREPORTS_DIR>
    # By default, users can use console from everywhere
    Order deny,allow
    Allow from all

    
    Options Indexes FollowSymLinks
    DirectoryIndex index.php
    
    # Uncomment following to force use of HTTPS in Administration Server
    #SSLRequireSSL
    
        #php_flag short_open_tag         on
        php_flag file_uploads           on

        # Some PHP tuning for deployement feature up to 50 MB
        php_value post_max_size         51M
        php_value upload_max_filesize   50M

        # You may have to uncomment following on errors
        #php_value memory_limit          16M
        #php_value max_execution_time    -1
        #php_value max_input_time 	     -1

    # Uncomment following to allow HTTP body request up to 4 MB
    # instead default 512 KB
    #LimitRequestBody 4194304
</Directory>

################################################################################
# Deployment packages download area
# 
Alias PACKAGES_ALIAS PATH_TO_PACKAGES_DIR

#</VirtualHost>