Subversion Repositories configs

Rev

Rev 179 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 179 Rev 181
Line 24... Line 24...
24
    # but remember to remove it after installation for security.
24
    # but remember to remove it after installation for security.
25
 
25
 
26
    <IfModule mod_authz_core.c>
26
    <IfModule mod_authz_core.c>
27
        # Apache 2.4
27
        # Apache 2.4
28
        Require local
28
        Require local
29
        # Require ip ##.##.##.##
29
        Require ip 10.192.25.201
30
    </IfModule>
30
    </IfModule>
31
    <IfModule !mod_authz_core.c>
31
    <IfModule !mod_authz_core.c>
32
        # Apache 2.2
32
        # Apache 2.2
33
        Order Deny,Allow
33
        Order Deny,Allow
34
        Deny from All
34
        Deny from All
35
        Allow from 127.0.0.1
35
        Allow from 127.0.0.1
36
        Allow from ::1
36
        Allow from ::1
-
 
37
        allow from 10.192.25.201
37
    </IfModule>
38
    </IfModule>
38
 
39
 
39
    ErrorDocument 403 "<p><b>Restricted area.</b><br />Only local access allowed.<br />Check your configuration or contact your administrator.</p>"
40
    ErrorDocument 403 "<p><b>Restricted area.</b><br />Only local access allowed.<br />Check your configuration or contact your administrator.</p>"
40
 
41
 
41
    <IfModule mod_php5.c>
42
    <IfModule mod_php5.c>