/[smecontribs]/rpms/smeserver-ocsinventory/contribs7/smeserver-ocsinventory-0.1-update_path.patch
ViewVC logotype

Contents of /rpms/smeserver-ocsinventory/contribs7/smeserver-ocsinventory-0.1-update_path.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Mar 19 12:29:48 2009 UTC (15 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-ocsinventory-0_1-10_el4_sme, smeserver-ocsinventory-0_1-11_el4_sme, smeserver-ocsinventory-0_1-8_el4_sme, smeserver-ocsinventory-0_1-9_el4_sme, smeserver-ocsinventory-0_1-7_el4_sme, HEAD
update download directory

1 --- smeserver-ocsinventory-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs.update_path 2009-03-19 11:59:50.000000000 +0100
2 +++ smeserver-ocsinventory-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs 2009-03-19 12:01:43.000000000 +0100
3 @@ -2,14 +2,14 @@
4 #--------------------------------------------------------------
5 # OCS Inventory Next Generation
6 #--------------------------------------------------------------
7 -Alias /download /var/lib/ocsinventory-server/download
8 +Alias /download /var/lib/ocsinventory-reports/download
9 Alias /ocs /usr/share/ocsinventory-reports/ocsreports
10 {
11 if (exists $ocs{'URL'})
12 { $OUT .= "Alias /$ocs{'URL'} /usr/share/ocsinventory-reports/ocsreports"; }
13 }
14
15 -<Directory /var/lib/ocsinventory-server/download>
16 +<Directory /var/lib/ocsinventory-reports/download>
17 Options None
18 Options +Indexes
19 Options +Includes
20 @@ -17,7 +17,7 @@
21 order deny,allow
22 deny from all
23 allow from { $localAccess }
24 - php_admin_value open_basedir /var/lib/ocsinventory-server/download:/tmp
25 + php_admin_value open_basedir /var/lib/ocsinventory-reports/download:/tmp
26 </Directory>
27
28 <Directory /usr/share/ocsinventory-reports/ocsreports>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed