DEDIBOX-NEWS.COM

Le Forum Non Officiel de la DEDIBOX

Vous n'êtes pas identifié.

#1 2008-04-04 19:23:04

chessman
Je débarque
Date d'inscription: 2008-01-09
Messages: 8

Virtualhost et installation de TRAC.

Bonjour,

j'ai une dédibox installée complètement à la main et qui fonctionne super bien jusque là. Maintenant je viens d'installer Subversion et Trac histoire d'aider un copain pour la gestion d'un développement qu'il fait actuellement. Le petit soucis est que apparament je me suis planté dans la config virtualhost et comme je ne suis pas super fort la dedans j'ai besoin de votre aide. Voila ce que j'ai mis dedans :

Code:

<VirtualHost *:80>
        ServerAdmin webmaster@rappelz.be
        ServerName www.rappelz.be
        ServerAlias rappelz.be www.rappelz.be
        RewriteEngine on
        RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
        RewriteRule .* -[F]
        DocumentRoot /var/www/rappelzbe/
        <Directory /var/www/rappelzbe>
                Options Indexes FollowSymLinks MultiViews
                #AllowOverride AuthConfig
                AllowOverride FileInfo Limit Options Indexes
                Order allow,deny
                allow from all
        </Directory>
        ErrorLog /var/log/apache2/error.log
        #Possible values include: debug, info, notice, warn, error, crit,
        #alert, emerg.
        LogLevel warn
        CustomLog /var/log/apache2/access.log combined
        ServerSignature Off
</VirtualHost>


<VirtualHost *:80>
        ServerName www.trac.rappelz.be
        ServerAlias trac.rappelz.be www.trac.rappelz.be
        DocumentRoot /var/trac/exg
        <Location />
                SetHandler mod_python
                PythonHandler trac.web.modpython_frontend
                PythonOption TracEnv /var/trac/exg
                PythonOption TracUriRoot /
                PythonPath "sys.path + ['/var/trac/exg']"
        </Location>
        ErrorLog /var/log/apache2/error.trac.exg.log
        #Possible values include: debug, info, notice, warn, error, crit,
        #alert, emerg.
        LogLevel warn
        CustomLog /var/log/apache2/access.trac.exg.log combined
        ServerSignature Off
        <Location /svn>
                DAV svn
                SVNPath /var/svn/exg
                #politique de control d acces
                AuthzSVNAccessFile /etc/apache2/trac_svn_access.rules
                #Seul les utilisateur enregistres
                Require valid-user
                AuthType Basic
                AuthName "Le Repository de EXG"
                AuthUserFile /etc/apache2/dav_trac_svn.passwd
                <LimitExcept GET PROPFIND OPTIONS REPORT>
                        Require valid-user
                </LimitExcept>
        </Location>

        <Location "/login">
                AuthType Basic
                AuthName "Trac login"
                AuthUserFile /etc/apache2/dav_trac_svn.passwd
                Require valid-user
        </Location>
</VirtualHost>

Si quelqu'un vois ou ca plante merci de m'aider car cela fait 2 jours que je bloque la dessus.

Hors ligne

 

Pied de page des forums

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson