source: ProjectBuilder/devel/website/etc/project-builder.org.conf@ 996

Last change on this file since 996 was 996, checked in by Bruno Cornec, 14 years ago
  • Web server now answer to project-builder.org requests
File size: 3.1 KB
Line 
1NameVirtualHost 10.3.252.23
2
3<VirtualHost 10.3.252.23>
4 ServerName www.project-builder.org
5 ServerAlias project-builder.org
6 ServerAdmin webmaster@project-builder.org
7 DocumentRoot /mondo/project-builder/www/html/project-builder
8 CustomLog /var/log/httpd/www.project-builder.org/access_log combined
9 Errorlog /var/log/httpd/www.project-builder.org/error_log
10 RewriteEngine On
11 RewriteRule ^/index\.html$ /index.shtml
12 RewriteRule ^/$ /index.shtml
13
14 <Directory "/mondo/project-builder/www/html/project-builder">
15 DirectoryIndex index.shtml
16 Options -Indexes MultiViews FollowSymLinks +Includes
17 AllowOverride None
18 Order allow,deny
19 Allow from all
20 </Directory>
21
22 <Directory "/mondo/project-builder/www/cgi-bin">
23 AllowOverride All
24 Options ExecCGI FollowSymLinks
25 Order allow,deny
26 Allow from all
27 </Directory>
28
29 ScriptAlias /cgi-bin/ "/mondo/project-builder/www/cgi-bin/"
30
31 # fix mdk bug #16298
32 PassEnv LC_ALL
33 PassEnv LANG
34
35 # fix mdk bug #16298
36 <Directory "/usr/share/trac/htdocs/">
37 Options Indexes MultiViews
38 AllowOverride None
39 Order allow,deny
40 Allow from All
41 </Directory>
42
43 Alias /trac/ "/usr/share/trac/htdocs/"
44 <Location "/cgi-bin/trac.cgi">
45 SetEnv TRAC_ENV "/mondo/project-builder/trac/project-builder.env"
46 </Location>
47
48 # You need something like this to authenticate users
49 #<Location "/cgi-bin/trac.cgi/login">
50 #AuthType Basic
51 #AuthName "Dploy"
52 #AuthUserFile /usr/local/etc/project-builder.htpasswd
53 #Require valid-user
54 #</Location>
55</VirtualHost>
56
57<VirtualHost 10.3.252.23>
58 ServerName trac.project-builder.org
59 SetEnv TRAC_ENV "/mondo/project-builder/trac/project-builder.env"
60 DocumentRoot /mondo/project-builder/www/cgi-bin/trac.cgi
61 ServerAdmin webmaster@project-builder.org
62 CustomLog /var/log/httpd/www.project-builder.org/access_log combined
63 Errorlog /var/log/httpd/www.project-builder.org/error_log
64
65 # fix mdk bug #16298
66 PassEnv LC_ALL
67 PassEnv LANG
68
69 <Directory "/mondo/project-builder/www/cgi-bin">
70 AllowOverride All
71 Options ExecCGI FollowSymLinks
72 Order allow,deny
73 Allow from all
74 </Directory>
75
76 Alias /trac/ "/usr/share/trac/htdocs/"
77 ScriptAlias /cgi-bin/ "/mondo/project-builder/www/cgi-bin/"
78
79 # You need something like this to authenticate users
80 #<Location "/login">
81 #AuthType Basic
82 #AuthName "Dploy"
83 #AuthUserFile /usr/local/etc/trac.htpasswd
84 #Require valid-user
85 #</Location>
86</VirtualHost>
87
88<VirtualHost 10.3.252.23>
89 ServerName www1.project-builder.org
90 ServerAdmin webmaster@project-builder.org
91 DocumentRoot /mondo/project-builder/www/html/test
92 CustomLog /var/log/httpd/www1.project-builder.org/access_log combined
93 Errorlog /var/log/httpd/www1.project-builder.org/error_log
94 <Directory "/mondo/project-builder/www/html/test">
95 Options -Indexes MultiViews FollowSymLinks +Includes
96 AllowOverride None
97 Order allow,deny
98 Allow from all
99 </Directory>
100</VirtualHost>
Note: See TracBrowser for help on using the repository browser.