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

Annotation of /rpms/smeserver-freepbx/contribs7/smeserver-freepbx-0.1-protect_by_location.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Oct 20 13:35:21 2011 UTC (12 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-32_el4_sme, HEAD
* Thu Oct 20 2011 Daniel B. <daniel@firewall-services.com> 0.1-32.sme
- Protect by locations (so other alias can be defined to protect with LL::NG for example)

1 vip-ire 1.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