Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Talk:OCS Inventory Tools
(view source)
Revision as of 11:31, 8 November 2007
996 bytes added
,
11:31, 8 November 2007
→Upload size limit
Line 86:
Line 86:
Testing this now, of course it would be better to limit these values only for ocs!
Testing this now, of course it would be better to limit these values only for ocs!
+
+
=> Still doesn't work... Values are expanded but can't upload file >10M... Looks like this value must be global.
+
+
Here's the non working template:
+
#--------------------------------------------------------------
+
# OCS Inventory Next Generation
+
#--------------------------------------------------------------
+
Alias /download /opt/inventory/ocs/download
+
Alias /ocs /opt/inventory/ocs/ocsreports
+
+{
+
+ if (exists $ocs{'URL'})
+
+ { $OUT .= "Alias /$ocs{'URL'} /opt/inventory/ocs/ocsreports"; }
+
+}
+
+
<Directory /opt/inventory/ocs/download>
+
Options None
+
Options +Indexes
+
Options +Includes
+
AllowOverride None
+
order deny,allow
+
deny from all
+
allow from { $localAccess }
+
php_admin_value open_basedir /opt/inventory/ocs/download:/tmp
+
+ php_admin_value post_max_size $ocs{'MaxUpload'}
+
+ php_admin_value upload_max_filesize $ocs{'MaxUpload'}
+
</Directory>
+
+
config setprop ocs MaxUpload 50M
+
signal-event ocsglpi-update
+
/etc/init.d/httpd-e-smith condrestart
Cool34000
Cool34000
Cool34000
498
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search