Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
################################################################################
2
#
3
# OCS Inventory NG Administration Server
4
#
5
# Copyleft 2008 OCS Inventory NG Team
6
# Web: http://www.ocsinventory-ng.org
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
#
14
# ANY CHANGE ON THIS FILE REQUIRES APACHE RESTART TO TAKE EFFECT
15
#
16
 
17
################################################################################
18
# Administration console public pages
19
#
20
 
21
# Uncomment if you want a virtual host for OCS Inventory NG
22
#<VirtualHost *:80>
23
#        ServerName   ocsinventory-ng
24
#        ServerAlias  ocsinventory-ng.yourdomain.tld
25
#        DocumentRoot /usr/share/ocsinventory-reports/ocsreports
26
 
27
Alias /ocsreports /usr/share/ocsinventory-reports/ocsreports
28
 
29
<Directory /usr/share/ocsinventory-reports/ocsreports>
30
    # By default, users can use console from everywhere
179 - 31
    <IfModule mod_authz_core.c>
32
       Require all granted
33
    </IfModule>
34
    <IfModule !mod_authz_core.c>
35
       Order deny,allow
36
       Allow from all
37
    </IfModule>
4 - 38
 
39
    Options Indexes FollowSymLinks
40
    DirectoryIndex index.php
41
 
42
    # Uncomment following to force use of HTTPS in Administration Server
43
    #SSLRequireSSL
44
 
45
        #php_flag short_open_tag         on
46
        php_flag file_uploads           on
47
 
48
        # Some PHP tuning for deployement feature up to 50 MB
49
        php_value post_max_size         51M
50
        php_value upload_max_filesize   50M
51
 
52
        # You may have to uncomment following on errors
53
        #php_value memory_limit          16M
54
        #php_value max_execution_time    -1
55
        #php_value max_input_time 	     -1
56
 
57
    # Uncomment following to allow HTTP body request up to 4 MB
58
    # instead default 512 KB
59
    #LimitRequestBody 4194304
60
</Directory>
61
 
62
################################################################################
63
# Deployment packages download area
64
#
65
Alias /download /var/lib/ocsinventory-reports/download
66
 
67
#</VirtualHost>
68