Changeset 3655


Ignore:
Timestamp:
Apr 24, 2017, 1:18:57 AM (4 months ago)
Author:
bruno
Message:

New MondoRescue? site managed with ansible now

Location:
branches/3.3/ansible
Files:
94 added
1 moved

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/roles/httpd/templates/mondorescue.org.conf

    r3654 r3655  
    1 NameVirtualHost 10.3.252.23
    2 
    3 <VirtualHost 10.3.252.23>
     1<VirtualHost {{ ip_int }}>
    42    ServerName www.mondorescue.org
    53    ServerAlias mondorescue.org
     
    1412    <Directory "/prj/www/html/mondorescue">
    1513    DirectoryIndex index.shtml
    16         Options -Indexes MultiViews FollowSymLinks +Includes
     14        Options -Indexes +MultiViews +FollowSymLinks +Includes
    1715        AllowOverride None
    18         Order allow,deny
    19         Allow from all
     16        Require all granted
    2017    </Directory>
    2118
    2219    <Directory "/prj/www/html/mondorescue/ftp">
    23         Options Indexes MultiViews FollowSymLinks
     20        Options +Indexes +MultiViews +FollowSymLinks
    2421        AllowOverride None
    25         Order allow,deny
    26         Allow from all
     22        Require all granted
    2723    </Directory>
    2824
    2925    <Directory "/var/www/cgi-bin">
    3026        AllowOverride All
    31         Options ExecCGI FollowSymLinks
    32         Order allow,deny
    33         Allow from all
     27        Options +ExecCGI +FollowSymLinks
     28        Require all granted
    3429    </Directory>
    3530
    3631</VirtualHost>
    3732
    38 <VirtualHost 10.3.252.23>
     33<VirtualHost {{ ip_int }}>
    3934    ServerName ftp.mondorescue.org
    4035    DocumentRoot /prj/ftp
     
    4237    Errorlog /var/log/httpd/www.mondorescue.org/error_log
    4338    <Directory "/prj/ftp">
    44         Options Indexes MultiViews FollowSymLinks
     39        Options +Indexes +MultiViews +FollowSymLinks
    4540        AllowOverride None
    46         Order allow,deny
    47         Allow from all
     41        Require all granted
    4842    </Directory>
    4943</VirtualHost>
    5044
    51 <VirtualHost 10.3.252.23>
     45<VirtualHost {{ ip_int }}>
    5246    ServerName trac.mondorescue.org
    5347    DocumentRoot /prj/www/html/mondorescue
     
    5852    <Directory "/var/www/cgi-bin">
    5953        AllowOverride All
    60         Options ExecCGI FollowSymLinks
    61         Order allow,deny
    62         Allow from all
     54        Options +ExecCGI +FollowSymLinks
     55        Require all granted
    6356    </Directory>
    6457
     
    7063</VirtualHost>
    7164
    72 <VirtualHost 10.3.252.23>
     65<VirtualHost {{ ip_int }}>
    7366    ServerName oldwww.mondorescue.org
    7467    ServerAdmin webmaster@mondorescue.org
     
    7770    Errorlog /var/log/httpd/oldwww.mondorescue.org/error_log
    7871    <Directory "/prj/www/html/oldmondorescue">
    79         Options -Indexes MultiViews FollowSymLinks +Includes
     72        Options -Indexes +MultiViews +FollowSymLinks +Includes
    8073        AllowOverride None
    81         Order allow,deny
    82         Allow from all
     74        Require all granted
    8375    </Directory>
    8476</VirtualHost>
    8577
    86 <VirtualHost 10.3.252.23>
     78<VirtualHost {{ ip_int }}>
    8779    ServerName www1.mondorescue.org
    8880    ServerAdmin webmaster@mondorescue.org
     
    9183    Errorlog /var/log/httpd/www1.mondorescue.org/error_log
    9284    <Directory "/prj/www/html/testmondorescue">
    93         Options -Indexes MultiViews FollowSymLinks +Includes
     85        Options -Indexes +MultiViews +FollowSymLinks +Includes
    9486        AllowOverride None
    95         Order allow,deny
    96         Allow from all
     87        Require all granted
    9788    </Directory>
    9889</VirtualHost>
    9990
    100 <VirtualHost 10.3.252.23>
    101     ServerName mondo.hpintelco.org
     91<VirtualHost {{ ip_int }}>
     92    ServerName mondorescue.hpintelco.org
    10293    ServerAdmin webmaster@mondorescue.org
    10394    DocumentRoot /prj/www/html/mondorescue
    104     CustomLog /var/log/httpd/mondo.hpintelco.org/access_log combined
    105     Errorlog /var/log/httpd/mondo.hpintelco.org/error_log
     95    CustomLog /var/log/httpd/mondorescue.hpintelco.org/access_log combined
     96    Errorlog /var/log/httpd/mondorescue.hpintelco.org/error_log
    10697    <Directory "/prj/www/html/mondorescue">
    107         Options Indexes MultiViews FollowSymLinks +Includes
     98        Options +Indexes +MultiViews +FollowSymLinks +Includes
    10899        AllowOverride None
    109         Order allow,deny
    110         Allow from all
     100        Require all granted
    111101    </Directory>
    112102    <Directory "/prj/www/html/mondorescue/ftp">
    113         Options Indexes MultiViews FollowSymLinks
     103        Options +Indexes +MultiViews +FollowSymLinks
    114104        AllowOverride None
    115         Order allow,deny
    116         Allow from all
     105        Require all granted
    117106    </Directory>
    118107
    119108</VirtualHost>
    120109
    121 <VirtualHost 10.3.252.23>
     110<VirtualHost {{ ip_int }}>
    122111    ServerName www.mondorescue.com
    123112    ServerAlias mondorescue.com
     
    131120    <Directory "/prj/www/html/mondorescue">
    132121    DirectoryIndex index.shtml
    133         Options -Indexes MultiViews FollowSymLinks +Includes
     122        Options -Indexes +MultiViews +FollowSymLinks +Includes
    134123        AllowOverride None
    135         Order allow,deny
    136         Allow from all
     124        Require all granted
    137125    </Directory>
    138126    <Directory "/prj/www/html/mondorescue/ftp">
    139         Options Indexes MultiViews FollowSymLinks
     127        Options +Indexes +MultiViews +FollowSymLinks
    140128        AllowOverride None
    141         Order allow,deny
    142         Allow from all
     129        Require all granted
    143130    </Directory>
    144131
    145132</VirtualHost>
    146133
    147 <VirtualHost 10.3.252.23>
     134<VirtualHost {{ ip_int }}>
    148135    ServerName ftp.mondorescue.com
    149136    ServerAdmin webmaster@mondorescue.com
     
    156143    <Directory "/prj/www/html/mondorescue">
    157144    DirectoryIndex index.shtml
    158         Options -Indexes MultiViews FollowSymLinks +Includes
     145        Options -Indexes +MultiViews +FollowSymLinks +Includes
    159146        AllowOverride None
    160         Order allow,deny
    161         Allow from all
     147        Require all granted
    162148    </Directory>
    163149    <Directory "/prj/www/html/mondorescue/ftp">
    164         Options Indexes MultiViews FollowSymLinks
     150        Options +Indexes +MultiViews +FollowSymLinks
    165151        AllowOverride None
    166         Order allow,deny
    167         Allow from all
     152        Require all granted
    168153    </Directory>
    169154
Note: See TracChangeset for help on using the changeset viewer.