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