Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6797069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:33:48+00:00 2026-05-26T18:33:48+00:00

I am trying to run Trac on nginx. There is a simple solution that

  • 0

I am trying to run Trac on nginx.

There is a simple solution that consists of running the tracd server, but I’m trying to avoid that. It doesn’t support unix sockets.

Instead, I’m trying to use Spawning that should be able to launch any WSGI application.

But I don’t know how to use it. After deplyement, I have my cgi-bin directory with trac.wsgi in it, but I don’t know how to launch it using Spawning.

It doesn’t accept a file name as an argument, I have to provide the module and the application names, like spawning my_module.my_wsgi_app. But how do I do it with trac.wsgi ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:33:48+00:00Added an answer on May 26, 2026 at 6:33 pm

    Reading Spawning docs I saw that it receives on the command line, as the first parameter, the dotted name of your application’s WSGI object. Especifically for Trac, the WSGI object is defined at trac.web.main.dispatch_request [1]. Try passing this to Spawning.

    But remember that Trac needs some environ variables in order to run correctly, to name a few: TRAC_ENV, pointing to your Trac Environment and PYTHON_EGG_CACHE, where Python will estract any loaded egg file.

    Since Spawning does not receive a file as the first argument, you won’t need trac.wsgi.

    You can try this, running directly from you shell.

    $ TRAC_ENV=/path/to/your/trac-env PYTHON_EGG_CACHE=/tmp/.egg-cache spawning trac.web.main.dispatch_request
    

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently trying to configure Subversion/Apache/Trac and I've run into an error that I
I am trying to run the VS 2008 SP1 installer , but it says
I'm trying to run a LINQ to SQL query that returns a result in
Trying to run the reportviewer with passing the parameter but receive error: Validation of
While trying to run all the unit tests in my solution(Visual Studio 2010) I
I wrote this C program for Win32/c compiler but while i'm trying run this
I'm trying run a simple Java/MySQL web app tutorial in NetBeans. I am able
I'm trying to build this iPhone sample: http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone but I'm having trouble since I
Trying to run a simple Hello World C++ program on Eclipse (Galileo) CDT plugin
Trying to run through a dictionary string and write the contents to file that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.