Thanks a lot ! that's it....

On 10 déc, 05:52, Jani Tiainen <[EMAIL PROTECTED]> wrote:
> Erwin kirjoitti:
>
>
>
> > Is it possible to manage such structure :
>
> > One domain:    www.mydomain.com
>
> > one subdomain  = one project
> > - project1.mydomain.com
> > - project2.mydomain.com
> > - project3.mydomain.com
>
> > can I have :
> > trac.mydomain.com/project1
> > trac.mydomain.com/project2
> > trac.mydomain.com/project3
>
> > in which case I will have for each project :
>
> > trac-admin /var/trac/mydomain/project1  initenv
> > [/path/to/repos] var/svn/mydomain/project1
> > [project] url =http://www.mydomain.com/trac/project1
>
> > <VirtualHost *>
> > DocumentRoot /var/trac/mydomain/project1
> > ServerNamewww.mydomain.com
> > <Location /project1>
> >     SetHandler mod_python
> >     PythonHandler trac.web.modpython_frontend
> >     PythonOption TracEnv /var/trac/mydomain/project1
> >     PythonOption TracUriRoot /
> >     PythonPath "sys.path + ['/var/trac/mydomain/project1']"
> > </Location>
> > <Location "/project1/login">
> >     AuthType Basic
> >     AuthName "Ael Mat Subversion repository"
> >     AuthUserFile /etc/apache2/dav_mydomain_svn.passwd
> >     Require valid-user
> > </Location>
> > </VirtualHost>
>
> > or should I have another better structure ?  (I can see I am a newbie
> > with Trac..)
>
> Well, yes:
>
> http://trac.edgewall.org/wiki/TracModPython#Settingupmultipleprojects
>
> --
>
> Jani Tiainen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to