Changeset 3776 in MondoRescue for branches/3.3/ansible/roles
- Timestamp:
- Nov 16, 2020, 11:09:45 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/ansible/roles/httpd/templates/dploy.org.conf
r3656 r3776 1 1 <VirtualHost {{ ip_int }}> 2 2 ServerName www.dploy.org 3 ServerAlias dploy.org 3 4 ServerAdmin webmaster@dploy.org 4 DocumentRoot / mondo/dploy/www/html/dploy5 DocumentRoot /prj/www/html/dploy 5 6 CustomLog /var/log/httpd/www.dploy.org/access_log combined 6 7 Errorlog /var/log/httpd/www.dploy.org/error_log … … 9 10 RewriteRule ^/$ /index.shtml 10 11 11 <Directory "/ mondo/dploy/www/html/dploy">12 <Directory "/prj/www/html/dploy"> 12 13 DirectoryIndex index.shtml 13 14 Options -Indexes +MultiViews +FollowSymLinks +Includes … … 16 17 </Directory> 17 18 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"> 19 26 AllowOverride All 20 27 Options +ExecCGI +FollowSymLinks … … 22 29 </Directory> 23 30 24 ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/" 31 </VirtualHost> 25 32 26 # fix mdk bug #16298 27 PassEnv LC_ALL28 PassEnv LANG29 30 # fix mdk bug #1629831 <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 33 40 AllowOverride None 34 41 Require all granted 35 Allow from All36 42 </Directory> 37 38 # You need something like this to authenticate users39 <Location "/cgi-bin/trac.cgi/login">40 AuthType Basic41 AuthName "Dploy"42 AuthUserFile /usr/local/etc/dploy.htpasswd43 Require valid-user44 </Location>45 43 </VirtualHost> 46 44 47 45 <VirtualHost {{ ip_int }}> 48 46 ServerName trac.dploy.org 49 D efaultInitEnv TRAC_ENV "/mondo/dploy/trac/dploy.env"50 D ocumentRoot /mondo/dploy/www/cgi-bin/trac.cgi47 DocumentRoot /prj/www/html/dploy 48 DefaultInitEnv TRAC_ENV "/prj/trac/ploy.env" 51 49 ServerAdmin webmaster@dploy.org 52 50 CustomLog /var/log/httpd/www.dploy.org/access_log combined 53 51 Errorlog /var/log/httpd/www.dploy.org/error_log 54 52 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"> 60 54 AllowOverride All 61 55 Options +ExecCGI +FollowSymLinks … … 63 57 </Directory> 64 58 65 Alias /trac/ "/usr/share/trac/htdocs/"66 ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/"67 59 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/" 75 61 </VirtualHost> 76 62 … … 78 64 ServerName www1.dploy.org 79 65 ServerAdmin webmaster@dploy.org 80 DocumentRoot / mondo/dploy/www/html/test66 DocumentRoot /prj/www/html/dploytest 81 67 CustomLog /var/log/httpd/www1.dploy.org/access_log combined 82 68 Errorlog /var/log/httpd/www1.dploy.org/error_log 83 <Directory "/ mondo/dploy/www/html/test">69 <Directory "/prj/www/html/dploytest"> 84 70 Options -Indexes +MultiViews +FollowSymLinks +Includes 85 71 AllowOverride None
Note:
See TracChangeset
for help on using the changeset viewer.