Annotation of /alx-src/branches/alx-web-070/apache/alx-web.conf.in
Parent Directory | Revision Log
Revision 8530 -
(hide annotations)
(download)
Mon Feb 8 10:27:42 2016 UTC (8 years, 3 months ago) by niro
Original Path: alx-src/branches/alx-web-070/apache/alx-web.conf
File size: 507 byte(s)
Mon Feb 8 10:27:42 2016 UTC (8 years, 3 months ago) by niro
Original Path: alx-src/branches/alx-web-070/apache/alx-web.conf
File size: 507 byte(s)
-added apache module configuration
1 | niro | 8530 | Alias / /usr/share/alx-web/ |
2 | Alias /alx-web /usr/share/alx-web/ | ||
3 | Alias /alx-web-070 /usr/share/alx-web/ | ||
4 | |||
5 | <Directory /usr/share/alx-web/> | ||
6 | AddDefaultCharset UTF-8 | ||
7 | DirectoryIndex index.php | ||
8 | |||
9 | Options Indexes FollowSymlinks MultiViews | ||
10 | |||
11 | <IfModule mod_authz_core.c> | ||
12 | # Apache 2.4 | ||
13 | <RequireAny> | ||
14 | Require ip 127.0.0.1 | ||
15 | Require ip ::1 | ||
16 | </RequireAny> | ||
17 | </IfModule> | ||
18 | <IfModule !mod_authz_core.c> | ||
19 | # Apache 2.2 | ||
20 | Order Deny,Allow | ||
21 | Deny from All | ||
22 | Allow from 127.0.0.1 | ||
23 | Allow from ::1 | ||
24 | </IfModule> | ||
25 | </Directory> |