Hi, I'd like to lock down my Trac installation so that anonymous users can't view anything - but this means when a user (even a legitimate user) first comes to http://my.trac.com the landing page is a very unfriendly message telling them to login - not great for client confidence. I'd like the "start" page to be a custom page, or at the very least http://my.trac.com/login.
I thought maybe default_handler in trac.ini could help me, but no luck, because the underlying assumption is that some component of a given trac install will be public (which in itself seems strange to me). None of the available handlers seem to suit my purpose. I also tried using mod_rewrite to redirect requests for http://my.trac.com to http://my.trac.com/login - this works, except - after users log in the rewrite rule causes an infinite loop because the "login" action automatically redirects back to the domain without the "/login" (I'm assuming this is happening in the Python code...and I'm not a Python coder). I figured out how to make trac feel like a cohesive app after a user logs out (which previously would always throw unnecessary "forbidden" errors), by using the logout.redirect trac.ini parameter - but I'm stuck on the login side. I can't be the only one who has ever tried to do this, and I'm pretty disappointed that it's so hard to do - I love trac for all the other things it does...does everyone either run a trac install with a publicly accessible wiki, or simply deal with the inappropriate forbidden errors all the time...or am I just missing something? Any help would be greatly appreciated. Using Trac 0.11.4/Apache2.x/CentOS5.2/Python2.4.3 Thanks. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. 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.
