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 PATH_TO_OCSREPORTS_DIR |
26 |
|
27 |
Alias OCSREPORTS_ALIAS PATH_TO_OCSREPORTS_DIR |
28 |
|
29 |
<Directory PATH_TO_OCSREPORTS_DIR> |
30 |
# By default, users can use console from everywhere |
31 |
Order deny,allow |
32 |
Allow from all |
33 |
|
34 |
AddDefaultCharset ISO-8859-1 |
35 |
|
36 |
Options Indexes FollowSymLinks |
37 |
DirectoryIndex index.php |
38 |
|
39 |
# Uncomment following to force use of HTTPS in Administration Server |
40 |
#SSLRequireSSL |
41 |
|
42 |
php_flag short_open_tag on |
43 |
php_flag file_uploads on |
44 |
|
45 |
# Some PHP tuning for deployement feature up to 50 MB |
46 |
php_value post_max_size 51M |
47 |
php_value upload_max_filesize 50M |
48 |
|
49 |
# You may have to uncomment following on errors |
50 |
#php_value memory_limit 16M |
51 |
#php_value max_execution_time -1 |
52 |
#php_value max_input_time -1 |
53 |
|
54 |
# Uncomment following to allow HTTP body request up to 4 MB |
55 |
# instead default 512 KB |
56 |
#LimitRequestBody 4194304 |
57 |
</Directory> |
58 |
|
59 |
################################################################################ |
60 |
# Deployment packages download area |
61 |
# |
62 |
Alias PACKAGES_ALIAS PATH_TO_PACKAGES_DIR |
63 |
|
64 |
#</VirtualHost> |
65 |
|