<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=1180221&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [Apache] Configuration Trac]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=1180221</link>
		<description><![CDATA[Les sujets les plus récents dans [Apache] Configuration Trac.]]></description>
		<lastBuildDate>Sat, 26 Jan 2013 20:02:00 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Apache] Configuration Trac]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12355151#p12355151</link>
			<description><![CDATA[<p>J&#039;ai enfin compris. Le #PythonOption TracUriRoot / est très important. Il décrit la racine du projet. Maintenant, en tappant : <a href="http://www.mondomaine.com/trac/BanqueCBL">www.mondomaine.com/trac/BanqueCBL</a> je tombe sur mon trac. Pour se faire voici la bonne configuration :</p><div class="codebox"><pre><code>&lt;VirtualHost *:80&gt;
    # Trac Configuration
    &lt;Location /trac/BanqueCBL&gt;
       SetHandler mod_python
       PythonHandler trac.web.modpython_frontend
       PythonInterpreter main_interpreter
       #PythonOption TracEnvParentDir /var/trac/
       PythonOption TracEnv /var/trac/BanqueCBL
       PythonOption TracUriRoot /trac/BanqueCBL
    &lt;/location&gt;
    &lt;Location /login&gt;
         AuthType basic
         AuthName &quot;Trac BanqueCBL project&quot;
         AuthUserFile /etc/apache2/dav_svn.htpasswd
         require valid-user
    &lt;/Location&gt;

    # Svn Configuration
    &lt;location /depot/BanqueCBL&gt;
       DAV svn
       SVNPath /var/svn/BanqueCBL
       AuthType Basic
       AuthName &quot;Dépot BanqueCBL&quot;
       AuthUserFile /etc/apache2/dav_svn.htpasswd
       Require valid-user
    &lt;/location&gt;
&lt;/VirtualHost&gt;</code></pre></div><p>Voilà. Bonne chance aux personnes étant dans la situation où j&#039;ai été ! <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (wehnz)]]></author>
			<pubDate>Sat, 26 Jan 2013 20:02:00 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12355151#p12355151</guid>
		</item>
		<item>
			<title><![CDATA[[Apache] Configuration Trac]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=12353161#p12353161</link>
			<description><![CDATA[<p>Salut la communauté !</p><p>Je fais appel à vos lumières car je n&#039;y arrive plus <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>J&#039;installe une chaine de développement sur un serveur domestique Ubuntu 64 bits avec un noyau 3.2.0-36-generic. Tout se passe bien concernant SVN (visibilité apache2 et authentification), Jenkins (checkout svn + compilation), mais ce n&#039;est pas du tout le cas avec Trac.</p><p>J&#039;aimerais utiliser le module python pour lier apache et trac. J&#039;ai donc la configuration suivante :</p><div class="codebox"><pre class="vscroll"><code>&lt;VirtualHost *:80&gt;
    ...
    # Trac Configuration
    &lt;Location /trac/&gt;
         #Options Indexes FollowSymLinks MultiViews
         #AllowOverride None
         #Order allow,deny
         #allow from all
         SetHandler mod_python
         PythonHandler trac.web.modpython_frontend
         PythonInterpreter main_interpreter
         PythonOption TracEnv /var/trac/BanqueCBL/
         #PythonOption TracUriRoot /
    &lt;/location&gt;
    &lt;Location /BanqueCBL/Login&gt;
         AuthType basic
         AuthName &quot;Trac BanqueCBL project&quot;
         AuthUserFile /etc/apache2/dav_svn.htpasswd
         require user /etc/apache2/dav_svn.htpasswd
    &lt;/Location&gt;

    # Svn Configuration
    &lt;location /svn/BanqueCBL&gt;
       DAV svn
       SVNPath /var/svn/BanqueCBL
       AuthType Basic
       AuthName &quot;Dépot BanqueCBL&quot;
       AuthUserFile /etc/apache2/dav_svn.htpasswd
       Require valid-user
    &lt;/location&gt;
&lt;/VirtualHost&gt;</code></pre></div><p>Je peux contacter le dépot sur <a href="http://www.mondomaine.com/svn/BanqueCBL">www.mondomaine.com/svn/BanqueCBL</a><br />Je devrais pouvoir contacter le trac sur <a href="http://www.mondomaine.com/trac/BanqueCBL">www.mondomaine.com/trac/BanqueCBL</a>. Toutefois une page wiki apparait avec ce message</p><div class="codebox"><pre><code>No handler matched request to /BanqueCBL</code></pre></div><p>Comme vous pouvez le constater, j&#039;ai essayé la configuration standard avec OptionsIndexes ... etc, mais ça ne fonctionne pas non plus.</p><p>Quelqu&#039;un aurait une idée ? Merci pour votre coup de main <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (wehnz)]]></author>
			<pubDate>Sat, 26 Jan 2013 17:17:40 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=12353161#p12353161</guid>
		</item>
	</channel>
</rss>
