Changeset 8:297f5427449e

Show
Ignore:
Timestamp:
12/29/2009 12:25:26 PM (8 months ago)
Author:
dcaoyuan
Branch:
default
Children:
9:d6603c7aa885, 11:e189c995c6b7
Message:

Added TRAC_BASE_URL environ in trac script, the [trac] base_url seems not working.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cgi-bin/src/main/webapp/WEB-INF/cgi/trac

    r3 r8  
    2929                                     '.egg-cache') 
    3030        pkg_resources.set_extraction_path(egg_cache) 
     31    if 'TRAC_BASE_URL' not in os.environ: 
     32        os.environ['TRAC_BASE_URL'] = 'http://blogtrader.net:80/' 
    3133    from trac.web import fcgi_frontend 
    3234    fcgi_frontend.run()