Changeset 3776 in MondoRescue


Ignore:
Timestamp:
Nov 16, 2020, 11:09:45 AM (3 years ago)
Author:
Bruno Cornec
Message:

setup dploy.org web presence

File:
1 edited

Legend:

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

    r3656 r3776  
    11<VirtualHost {{ ip_int }}>
    22    ServerName www.dploy.org
     3    ServerAlias dploy.org   
    34    ServerAdmin webmaster@dploy.org
    4     DocumentRoot /mondo/dploy/www/html/dploy
     5    DocumentRoot /prj/www/html/dploy
    56    CustomLog /var/log/httpd/www.dploy.org/access_log combined
    67    Errorlog /var/log/httpd/www.dploy.org/error_log
     
    910    RewriteRule     ^/$  /index.shtml
    1011
    11     <Directory "/mondo/dploy/www/html/dploy">
     12    <Directory "/prj/www/html/dploy">
    1213    DirectoryIndex index.shtml
    1314        Options -Indexes +MultiViews +FollowSymLinks +Includes
     
    1617    </Directory>
    1718
    18     <Directory "/mondo/dploy/www/cgi-bin">
     19    <Directory "/prj/www/html/dploy/ftp">
     20        Options +Indexes +MultiViews +FollowSymLinks
     21        AllowOverride None
     22        Require all granted
     23    </Directory>
     24
     25    <Directory "/var/www/cgi-bin">
    1926        AllowOverride All
    2027        Options +ExecCGI +FollowSymLinks
     
    2229    </Directory>
    2330
    24     ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/"
     31</VirtualHost>
    2532
    26     # fix mdk bug #16298
    27     PassEnv LC_ALL
    28     PassEnv LANG
    29 
    30     # fix mdk bug #16298
    31     <Directory "/usr/share/trac/htdocs/">
    32         Options +Indexes +MultiViews
     33<VirtualHost {{ ip_int }}>
     34    ServerName ftp.dploy.org
     35    DocumentRoot /prj/ftp
     36    CustomLog /var/log/httpd/www.dploy.org/access_log combined
     37    Errorlog /var/log/httpd/www.dploy.org/error_log
     38    <Directory "/prj/ftp">
     39        Options +Indexes +MultiViews +FollowSymLinks
    3340        AllowOverride None
    3441        Require all granted
    35         Allow from All
    3642    </Directory>
    37    
    38     # You need something like this to authenticate users
    39     <Location "/cgi-bin/trac.cgi/login">
    40         AuthType Basic
    41         AuthName "Dploy"
    42         AuthUserFile /usr/local/etc/dploy.htpasswd
    43         Require valid-user
    44     </Location>
    4543</VirtualHost>
    4644
    4745<VirtualHost {{ ip_int }}>
    4846    ServerName trac.dploy.org
    49     DefaultInitEnv TRAC_ENV "/mondo/dploy/trac/dploy.env"
    50     DocumentRoot /mondo/dploy/www/cgi-bin/trac.cgi
     47    DocumentRoot /prj/www/html/dploy
     48    DefaultInitEnv TRAC_ENV "/prj/trac/ploy.env"
    5149    ServerAdmin webmaster@dploy.org
    5250    CustomLog /var/log/httpd/www.dploy.org/access_log combined
    5351    Errorlog /var/log/httpd/www.dploy.org/error_log
    5452
    55     # fix mdk bug #16298
    56     PassEnv LC_ALL
    57     PassEnv LANG
    58 
    59     <Directory "/mondo/dploy/www/cgi-bin">
     53    <Directory "/var/www/cgi-bin">
    6054        AllowOverride All
    6155        Options +ExecCGI +FollowSymLinks
     
    6357    </Directory>
    6458
    65     Alias /trac/ "/usr/share/trac/htdocs/"
    66     ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/"
    6759
    68     # You need something like this to authenticate users
    69     <Location "/login">
    70         AuthType Basic
    71         AuthName "Dploy"
    72         AuthUserFile /usr/local/etc/trac.htpasswd
    73         Require valid-user
    74     </Location>
     60    ScriptAlias / "/var/www/cgi-bin/trac.fcgi/"
    7561</VirtualHost>
    7662
     
    7864    ServerName www1.dploy.org
    7965    ServerAdmin webmaster@dploy.org
    80     DocumentRoot /mondo/dploy/www/html/test
     66    DocumentRoot /prj/www/html/dploytest
    8167    CustomLog /var/log/httpd/www1.dploy.org/access_log combined
    8268    Errorlog /var/log/httpd/www1.dploy.org/error_log
    83     <Directory "/mondo/dploy/www/html/test">
     69    <Directory "/prj/www/html/dploytest">
    8470        Options -Indexes +MultiViews +FollowSymLinks +Includes
    8571        AllowOverride None
Note: See TracChangeset for help on using the changeset viewer.