Pièce jointe « fichier-complet-apache2-default.txt »
Téléchargement 1 NameVirtualHost *
2 <VirtualHost *>
3 ServerAdmin webmaster@localhost
4
5 # Pages HTML (lien vers les tracs ?)
6 DocumentRoot /var/www/
7 <Directory />
8 Options FollowSymLinks
9 AllowOverride None
10 </Directory>
11 <Directory /var/www/>
12 Options Indexes FollowSymLinks MultiViews
13 AllowOverride None
14 Order allow,deny
15 allow from all
16 # This directive allows us to have apache2's default start page
17 # in /apache2-default/, but still have / go to the right place
18 </Directory>
19
20 # Config commune à tous les tracs
21 <Directory "/usr/share/trac/cgi-bin/">
22 AllowOverride None
23 Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
24 Order allow,deny
25 Allow from all
26 </Directory>
27 Alias /trac/ "/usr/share/trac/htdocs/"
28 <Directory "/usr/share/trac/htdocs/">
29 Options Indexes MultiViews FollowSymLinks
30 AllowOverride None
31 Order allow,deny
32 Allow from all
33 </Directory>
34
35 # Logs
36 ErrorLog /var/log/apache2/error.log
37 # Possible values include: debug, info, notice, warn, error, crit,
38 # alert, emerg.
39 LogLevel warn
40 CustomLog /var/log/apache2/access.log combined
41 ServerSignature Off
42
43 # Acces SVN
44 <Directory /srv/subversion>
45 Options Indexes FollowSymLinks MultiViews
46 AllowOverride None
47 Order allow,deny
48 allow from all
49 </Directory>
50
51 ## trac "guia" : gestion des utilisateurs des implantations AUF
52 ScriptAlias /guia /usr/share/trac/cgi-bin/trac.cgi
53 <Location /guia>
54 SetEnv TRAC_ENV "/srv/trac/guia"
55 </Location>
56 <Location "/guia/login">
57 AuthType Basic
58 AuthName "GUIA Trac"
59 AuthUserFile /etc/trac/guia.htpasswd
60 Require valid-user
61 </Location>
62 <Location "/svn/guia">
63 DAV svn
64 SVNPath /srv/subversion/guia
65 AuthType Basic
66 AuthName "GUIA Subversion Repository"
67 AuthUserFile /etc/trac/guia.htpasswd
68 # The following three lines allow anonymous read, but make
69 # committers authenticate themselves. It requires the 'authz_user'
70 # module (enable it with 'a2enmod').
71 <LimitExcept GET PROPFIND OPTIONS REPORT>
72 Require valid-user
73 </LimitExcept>
74 </Location>
75
76 ## trac "asterisk-auf" : paquets asterisk pour l'AUF
77 ScriptAlias /asterisk-auf /usr/share/trac/cgi-bin/trac.cgi
78 <Location /asterisk-auf>
79 SetEnv TRAC_ENV "/srv/trac/asterisk-auf"
80 </Location>
81 <Location "/asterisk-auf/login">
82 AuthType Basic
83 AuthName "Asterisk AUF Trac"
84 AuthUserFile /etc/trac/asterisk-auf.htpasswd
85 Require valid-user
86 </Location>
87 <Location "/svn/asterisk-auf">
88 DAV svn
89 SVNPath /srv/subversion/asterisk-auf
90 AuthType Basic
91 AuthName "Asterisk AUF Subversion Repository"
92 AuthUserFile /etc/trac/asterisk-auf.htpasswd
93 # The following three lines allow anonymous read, but make
94 # committers authenticate themselves. It requires the 'authz_user'
95 # module (enable it with 'a2enmod').
96 <LimitExcept GET PROPFIND OPTIONS REPORT>
97 Require valid-user
98 </LimitExcept>
99 </Location>
100
101 </VirtualHost>
Fichiers joints
Pour vous référer aux pièces jointes d'une page, utilisez attachment:filename, comme indiqué ci-dessous dans la liste de fichiers. N'utilisez pas l'URL du lien [get], car elle peut changer et donc être facilement cassée.Vous n'êtes pas autorisé à joindre un fichier à cette page.