[Trac] Re: Can I hide Trac's front page while allowing access to individual projects?

2009-04-15 Thread richard . cross

I don't supposed you could point me in the direction of one of the 20
possible solutions, could you?  Every solution I've come up with on
the Apache side seems to involve a large admin overhead, for example
with separate Location restrictions being set up for every single
project.  Is there something I can do on the Trac side to make this
more manageable?

On Apr 14, 2:21 pm, Jeff Hammel jham...@openplans.org wrote:
 On Tue, Apr 14, 2009 at 09:08:26AM -0400, Jeff Hammel wrote:

  You can always replace the template with whatever you want. There's 
  probably 0 different solutions to this problem, but that would be my 
  approach.

  Jeff

 Oops!  Meant to say There's probably 20 different solutions to this 
 problem...

  On Tue, Apr 14, 2009 at 04:44:22AM -0700, richard.cr...@rockshore.net wrote:

   I've just set up Trac 0.11 from Yum on Centos 5, using mod_python.
   I've got the following in Apache's conf.d/trac.conf:

   Location /trac/
     SetHandler mod_python
     PythonInterpreter main_interpreter
     PythonHandler trac.web.modpython_frontend
     PythonOption TracEnvParentDir /var/trac
     PythonOption TracUriRoot /trac
   /Location

   LocationMatch /trac/[^/]+/login
     AuthType Basic
     AuthName Trac
     AuthUserFile /var/www/trac/.htpasswd
     Require valid-user
   /LocationMatch

   ... which gives anyone access to /trac and /trac/Project1, /trac/
   Project2, but then only valid users can log in to the actual
   projects.

   What I'd like is for the list of projects (i.e. /trac) only to be
   visible to a certain restricted list of users, but for the actual
   project locations to still be available to anyone on the permissions
   list for that project.   Is this possible?
--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Can I hide Trac's front page while allowing access to individual projects?

2009-04-14 Thread Jeff Hammel

You can always replace the template with whatever you want. There's probably 0 
different solutions to this problem, but that would be my approach.

Jeff

On Tue, Apr 14, 2009 at 04:44:22AM -0700, richard.cr...@rockshore.net wrote:
 
 I've just set up Trac 0.11 from Yum on Centos 5, using mod_python.
 I've got the following in Apache's conf.d/trac.conf:
 
 Location /trac/
   SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnvParentDir /var/trac
   PythonOption TracUriRoot /trac
 /Location
 
 LocationMatch /trac/[^/]+/login
   AuthType Basic
   AuthName Trac
   AuthUserFile /var/www/trac/.htpasswd
   Require valid-user
 /LocationMatch
 
 ... which gives anyone access to /trac and /trac/Project1, /trac/
 Project2, but then only valid users can log in to the actual
 projects.
 
 What I'd like is for the list of projects (i.e. /trac) only to be
 visible to a certain restricted list of users, but for the actual
 project locations to still be available to anyone on the permissions
 list for that project.   Is this possible?
 
  

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Can I hide Trac's front page while allowing access to individual projects?

2009-04-14 Thread Jeff Hammel

On Tue, Apr 14, 2009 at 09:08:26AM -0400, Jeff Hammel wrote:
 
 You can always replace the template with whatever you want. There's probably 
 0 different solutions to this problem, but that would be my approach.
 
 Jeff

Oops!  Meant to say There's probably 20 different solutions to this problem...
 
 On Tue, Apr 14, 2009 at 04:44:22AM -0700, richard.cr...@rockshore.net wrote:
  
  I've just set up Trac 0.11 from Yum on Centos 5, using mod_python.
  I've got the following in Apache's conf.d/trac.conf:
  
  Location /trac/
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/trac
PythonOption TracUriRoot /trac
  /Location
  
  LocationMatch /trac/[^/]+/login
AuthType Basic
AuthName Trac
AuthUserFile /var/www/trac/.htpasswd
Require valid-user
  /LocationMatch
  
  ... which gives anyone access to /trac and /trac/Project1, /trac/
  Project2, but then only valid users can log in to the actual
  projects.
  
  What I'd like is for the list of projects (i.e. /trac) only to be
  visible to a certain restricted list of users, but for the actual
  project locations to still be available to anyone on the permissions
  list for that project.   Is this possible?
  
   
 
  

--~--~-~--~~~---~--~~
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 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---