Changeset 1193:e4ef44da009b


Ignore:
Timestamp:
03/23/09 15:10:10 (3 years ago)
Author:
niam
Branch:
default
Message:

managed apache configuration

File:
1 moved

Legend:

Unmodified
Added
Removed
  • configuration/apache/libdodo.org.conf

    r1192 r1193  
    1 AuthUserFile /path/to/htpasswd 
    2 AuthName "libdodo" 
    3 AuthType Digest 
    4 <LimitExcept GET> 
    5         Require valid-user 
    6 </LimitExcept> 
     1<VirtualHost *:80> 
     2        ServerName libdodo.org  
     3        ServerAlias www.libdodo.org 
    74 
     5 
     6        DocumentRoot </path/to/root> 
     7         
     8        CustomLog </path/to/logs>/libdodo.org-access_log combined 
     9        ErrorLog </path/to/logs>/libdodo.org-error_log 
     10         
     11        <Directory </path/to/root>> 
     12                DirectoryIndex index.html index.py index.php index.cgi 
     13                Order Deny,Allow 
     14                Allow from all 
     15                AllowOverride All 
     16                Options +ExecCGI 
     17        </Directory> 
     18</VirtualHost> 
     19         
     20<VirtualHost *:80> 
     21        ServerName hg.libdodo.org  
     22 
     23        DocumentRoot </path/to/root> 
     24         
     25        CustomLog </path/to/logs>/libdodo.org-access_log combined 
     26        ErrorLog </path/to/logs>/libdodo.org-error_log 
     27         
     28        <Directory </path/to/root>> 
     29                DirectoryIndex index.html index.py index.php index.cgi 
     30                Order Deny,Allow 
     31                Allow from all 
     32                AllowOverride All 
     33                Options +ExecCGI 
     34 
     35                AuthType Digest 
     36                AuthName "libdodo" 
     37                AuthUserFile </path/to/auth_file> 
     38                <LimitExcept GET> 
     39                        Require valid-user 
     40                </LimitExcept> 
     41        </Directory> 
     42</VirtualHost> 
     43 
Note: See TracChangeset for help on using the changeset viewer.