1 |
unnilennium |
1.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 |