WebFaction
Community site: login faq

I've set up a mod_wsgi custom app and then setup a TG2 app/ with python 2.7 beside it. How do I change the default document root to the turbo gears folder? As it is set up now there is a main httpd.conf which directs to index.py. I set up a turbogears config file - 'sales', and included it. I can manually navigate to site/sales but I would like to set sales as the root directory so that all the internal routes work.

folder structure: /home/***/webapps/2mod/ -- apache2 (has conf/httpd.conf and conf/sales) BASELINE (TG virtual env) htdocs (has index.py) sales (turbogears envelope and project)

Thanks

asked 17 Nov '12, 19:29

snakewrestler
12
accept rate: 0%


Please submit a support ticket so we can see the full directory and configuration in real-time.

permanent link

answered 17 Nov '12, 20:50

johns
5.4k312
accept rate: 23%

UDU-219923 submitted. Thanks.

permanent link

answered 17 Nov '12, 21:41

snakewrestler
12
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×62
×13
×1
×1
×1

question asked: 17 Nov '12, 19:29

question was seen: 2,367 times

last updated: 17 Nov '12, 21:41

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM