Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

How can I skip "Available Projects" page?

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


timblack1 at gmail

Mar 2, 2009, 3:47 PM

Post #1 of 2 (397 views)
Permalink
How can I skip "Available Projects" page?

I have been running Trac as a CGI script for a while, and now my
server staff recommended I run it as tracd in order to improve its
performance (specifically, to reduce memory usage--do you think tracd
uses less memory?) So I started up tracd with the following command:

/home2/username/bin/tracd -p 7560 -r --basic-auth=/home2/username/
webapps/sgs_tracd/,/path/to/.htpasswd,username.webfactional.com /home2/
username/webapps/sgs_tracd

Trac appears to be working, but it doesn't work the same way it does
as a CGI script (I still have a copy of the same environment running
that way at a different URL). What is new is now the first page I see
says "Available Projects" and gives me a link to the one and only
project which I want to serve from this URL. I don't want the
"Available Projects" page; I just want the frontend of Trac that
challenges for a password then displays the wiki under the header
which contains the main menu. How can I configure Trac to skip the
"Available Projects" page?

Tim Black

--~--~---------~--~----~------------~-------~--~----~
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 [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


noah at coderanger

Mar 4, 2009, 12:41 AM

Post #2 of 2 (359 views)
Permalink
Re: How can I skip "Available Projects" page? [In reply to]

On Mar 2, 2009, at 3:47 PM, timblack1 wrote:

>
> I have been running Trac as a CGI script for a while, and now my
> server staff recommended I run it as tracd in order to improve its
> performance (specifically, to reduce memory usage--do you think tracd
> uses less memory?) So I started up tracd with the following command:
>
> /home2/username/bin/tracd -p 7560 -r --basic-auth=/home2/username/
> webapps/sgs_tracd/,/path/to/.htpasswd,username.webfactional.com /
> home2/
> username/webapps/sgs_tracd
>
> Trac appears to be working, but it doesn't work the same way it does
> as a CGI script (I still have a copy of the same environment running
> that way at a different URL). What is new is now the first page I see
> says "Available Projects" and gives me a link to the one and only
> project which I want to serve from this URL. I don't want the
> "Available Projects" page; I just want the frontend of Trac that
> challenges for a password then displays the wiki under the header
> which contains the main menu. How can I configure Trac to skip the
> "Available Projects" page?

Add -s (--single-env) to the command line arguments. Also don't use -r
on a production server, its a development mode really.

--Noah

--~--~---------~--~----~------------~-------~--~----~
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 [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.