Magellan Linux

Contents of /alx-src/branches/alx-web-070/apache/alx-web.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8530 - (show annotations) (download)
Mon Feb 8 10:27:42 2016 UTC (8 years, 2 months ago) by niro
File size: 507 byte(s)
-added apache module configuration
1 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>