/[smeserver]/rpms/e-smith-horde/sme9/e-smith-horde-4.4.0-webmail-only-local-network.patch
ViewVC logotype

Contents of /rpms/e-smith-horde/sme9/e-smith-horde-4.4.0-webmail-only-local-network.patch

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


Revision 1.1 - (show annotations) (download)
Tue Dec 10 02:03:52 2013 UTC (10 years, 6 months ago) by burnat
Branch: MAIN
CVS Tags: e-smith-horde-4_4_0-5_el6_sme
* Tue Dec 10 2013 Chris Burnat <devlist@burnat.com> 4.4.0-5.sme
- Allow webmail-only-local-network by Stephane de Labrusse [SME: 7351]

1 diff -Nur e-smith-horde-4.4.0-old/root/etc/e-smith/db/configuration/defaults/horde/httpsaccess e-smith-horde-4.4.0/root/etc/e-smith/db/configuration/defaults/horde/httpsaccess
2 --- e-smith-horde-4.4.0-old/root/etc/e-smith/db/configuration/defaults/horde/httpsaccess 1970-01-01 01:00:00.000000000 +0100
3 +++ e-smith-horde-4.4.0/root/etc/e-smith/db/configuration/defaults/horde/httpsaccess 2013-12-08 10:18:47.074235713 +0100
4 @@ -0,0 +1 @@
5 +public
6 diff -Nur e-smith-horde-4.4.0-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess e-smith-horde-4.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess
7 --- e-smith-horde-4.4.0-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2013-11-26 19:01:33.230479756 +0100
8 +++ e-smith-horde-4.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2013-12-09 21:48:54.188795138 +0100
9 @@ -23,8 +23,14 @@
10 </FilesMatch>
11 Options Indexes Includes FollowSymLinks
12 AllowOverride None
13 - order allow,deny
14 - allow from all
15 + order deny,allow
16 + deny from all
17 +);
18 + $OUT .= " allow from ";
19 + $OUT .= ( $horde{httpsaccess} eq "public" ) ? "all" : $localAccess;
20 + $OUT .= "\n";
21 +
22 + $OUT .= qq(
23 AddType application/x-httpd-php .php .php3
24 php_value include_path '/usr/share/pear-addons:/usr/share/pear'
25 # php_value auto_prepend_file /home/httpd/horde-phplib/prepend.php3

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