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

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

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


Revision 1.1 - (hide annotations) (download)
Fri Mar 27 11:27:42 2009 UTC (15 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-26_el4_sme, smeserver-freepbx-0_1-25_el4_sme, smeserver-freepbx-0_1-20_el4_sme, smeserver-freepbx-0_1-27_el4_sme, smeserver-freepbx-0_1-31_el4_sme, smeserver-freepbx-0_1-32_el4_sme, smeserver-freepbx-0_1-18_el4_sme, smeserver-freepbx-0_1-28_el4_sme, smeserver-freepbx-0_1-17_el4_sme, smeserver-freepbx-0_1-29_el4_sme, smeserver-freepbx-0_1-24_el4_sme, smeserver-freepbx-0_1-23_el4_sme, smeserver-freepbx-0_1-21_el4_sme, smeserver-freepbx-0_1-30_el4_sme, smeserver-freepbx-0_1-22_el4_sme, HEAD
Remove /admin alias and run security script

1 vip-ire 1.1 --- smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28FreePBXProxyPass.remove_admin_alias 2008-09-12 09:20:23.000000000 +0200
2     +++ smeserver-freepbx-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28FreePBXProxyPass 2009-03-27 09:47:50.000000000 +0100
3     @@ -14,7 +14,7 @@
4     $OUT .= " ProxyPass /freepbx http://127.0.0.1:${'httpd-fpbx'}{TCPPort}/freepbx\n";
5     $OUT .= " ProxyPassReverse /freepbx http://127.0.0.1:${'httpd-fpbx'}{TCPPort}/freepbx\n";
6     }
7     - foreach my $url qw(admin panel recordings){
8     + foreach my $url qw(panel recordings){
9     $OUT .= " RewriteRule ^/$url(.*|\$) /freepbx/$url\$1 [L,R]\n";
10     }
11    

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