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

Last change on this file since 945 was 945, checked in by Bruno Cornec, 14 years ago

Add web server conf file

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