Magellan Linux

Annotation of /alx-src/branches/alx-web-070/apache/alx-web.conf.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8739 - (hide annotations) (download)
Wed Feb 17 12:06:07 2016 UTC (8 years, 2 months ago) by niro
File size: 568 byte(s)
-fixed broken alias order and allow htaccess overrides
1 niro 8532 Alias /alx-web @@ALXWEBINSTALLDIR@@/
2     Alias /alx-web-070 @@ALXWEBINSTALLDIR@@/
3 niro 8739 Alias / @@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 niro 8739 # allow .htaccess file override
12     AllowOverride ALL
13    
14 niro 8530 <IfModule mod_authz_core.c>
15     # Apache 2.4
16     <RequireAny>
17     Require ip 127.0.0.1
18     Require ip ::1
19     </RequireAny>
20     </IfModule>
21     <IfModule !mod_authz_core.c>
22     # Apache 2.2
23     Order Deny,Allow
24     Deny from All
25     Allow from 127.0.0.1
26     Allow from ::1
27     </IfModule>
28     </Directory>