Annotation of /alx-src/branches/alx-web-070/apache/alx-web.conf.in
Parent Directory | Revision Log
Revision 8532 -
(hide annotations)
(download)
Mon Feb 8 10:46:46 2016 UTC (8 years, 3 months ago) by niro
File size: 515 byte(s)
Mon Feb 8 10:46:46 2016 UTC (8 years, 3 months ago) by niro
File size: 515 byte(s)
-make apache configuration variable
1 | niro | 8532 | Alias / @@ALXWEBINSTALLDIR@@/ |
2 | Alias /alx-web @@ALXWEBINSTALLDIR@@/ | ||
3 | Alias /alx-web-070 @@ALXWEBINSTALLDIR@@/ | ||
4 | niro | 8530 | |
5 | niro | 8532 | <Directory @@ALXWEBINSTALLDIR@@/> |
6 | niro | 8530 | 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> |