/[smecontribs]/rpms/smeserver-freepbx/contribs8/smeserver-freepbx-0.1-protect_by_location.patch
ViewVC logotype

Contents of /rpms/smeserver-freepbx/contribs8/smeserver-freepbx-0.1-protect_by_location.patch

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


Revision 1.1 - (show annotations) (download)
Tue Feb 26 03:16:30 2013 UTC (11 years, 2 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-32_el5_sme, smeserver-freepbx-0_1-33_el5_sme, HEAD
Initial import

1 diff -Nur smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin smeserver-freepbx-0.1_mod/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin
2 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin 2011-10-20 15:23:59.000000000 +0200
3 +++ smeserver-freepbx-0.1_mod/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin 2011-10-20 15:26:57.000000000 +0200
4 @@ -7,14 +7,17 @@
5 php_admin_value post_max_size 100M
6 php_admin_flag file_upload On
7 php_admin_flag magic_quotes_gpc Off
8 - AuthType Basic
9 - TKTAuthLoginURL /server-common/cgi-bin/login
10 - require user admin {getUsersList('freepbx');}
11 - SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
12 - Satisfy all
13 </Directory>
14
15 <Directory /opt/freepbx/admin/modules/>
16 deny from all
17 </Directory>
18
19 +<Location /freepbx/admin>
20 + AuthType Basic
21 + TKTAuthLoginURL /server-common/cgi-bin/login
22 + require user admin {getUsersList('freepbx');}
23 + SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
24 + Satisfy all
25 +</Location>
26 +
27 diff -Nur smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel smeserver-freepbx-0.1_mod/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel
28 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel 2011-10-20 15:23:59.000000000 +0200
29 +++ smeserver-freepbx-0.1_mod/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX40Panel 2011-10-20 15:27:27.000000000 +0200
30 @@ -1,9 +1,9 @@
31
32 -<Directory /opt/freepbx/panel/>
33 +<Location /freepbx/panel/>
34 AuthType Basic
35 TKTAuthLoginURL /server-common/cgi-bin/login
36 require user admin {getUsersList('fop');}
37 SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
38 Satisfy all
39 -</Directory>
40 +</Location>
41

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