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

Contents of /rpms/smeserver-phpki/contribs7/smeserver-phpki-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)
Wed Jul 20 09:06:39 2011 UTC (12 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-phpki-0_1-6_el4_sme, smeserver-phpki-0_1-5_el4_sme, HEAD
* Wed Jul 20 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
- Protect by location (so we can set another location protected by LemonLDAP::NG)

1 diff -Nur smeserver-phpki-0.1/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki smeserver-phpki-0.1_mod/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki
2 --- smeserver-phpki-0.1/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki 2011-07-20 10:52:38.000000000 +0200
3 +++ smeserver-phpki-0.1_mod/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki 2011-07-20 10:53:28.000000000 +0200
4 @@ -14,23 +14,17 @@
5 order deny,allow
6 deny from all
7 allow from 127.0.0.1
8 - #AuthName "PHPKI"
9 - #AuthType Basic
10 - #TKTAuthLoginURL /server-common/cgi-bin/login
11 - #require valid-user
12 - #SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
13 - #Satisfy all
14 </Directory>
15
16 # /ca is only allowed for admin and explicitely authorized users
17 -<Directory /opt/phpki/html/ca>
18 +<Location /phpki/ca>
19 AuthName "PHPKI Admin"
20 AuthType Basic
21 TKTAuthLoginURL /server-common/cgi-bin/login
22 require user admin {getUsersList("phpki");}
23 SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
24 Satisfy all
25 -</Directory>
26 +</Location>
27
28 # Disable access to /admin, which is used to configure user/password
29 # via an htaccess file

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