Edgewall Software

Changes between Version 15 and Version 16 of TracOnWindowsIis6


Ignore:
Timestamp:
Mar 8, 2006, 9:57:39 PM (18 years ago)
Author:
Christopher C J Scholten
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindowsIis6

    v15 v16  
    1 == Windows Installation Instructions for Subversion w/Trac 0.7.1 ==
     1== Windows Installation Instructions for Subversion w/Trac 0.9 ==
    22
    33For:
    44 * Windows 2003 Server SP1
    55 * IIS 6
     6 * Trac 0.9
    67Trac running on Microsoft's Internet Information Server (IIS) is _highly_ experimental. See #692 #693 and #697.
    78
     
    12512620. Install Trac
    126127  http://projects.edgewall.com/trac/wiki/TracDownload
    127 {{{
    128 python ./setup.py install
    129 }}}
     128  Use the Windows installer to avoid having to manually install Trac with Python.
    130129
    131130=== Fix a few things ===
    132131
    13313223. Rename and fix CGI
    134   F:\Python23\share\trac\cgi-bin\trac.py should be F:\Python23\share\trac\cgi-bin\wtrac.py or similar (trac.py breaks with a can't find core.py error)
    135133
    136134In wtrac.py add the line [import os;os.environ['TRAC_ENV'] = 'F:\\tracsvn\\trac.db'] to the first try block as shown here:
     
    146144
    14714523a. Fix core.py
    148   In F:\Python23\Lib\site-packages\trac\core.py, change the real_cgi_start function (in trac 0.9 it's in web\cgi_frontend.py: class CGIRequest) where it says
     146  In F:\Python23\Lib\site-packages\trac\web\cgi_frontend.py: class CGIRequest, change the real_cgi_start function where it says
    149147{{{
    150148    path_info = os.getenv('PATH_INFO')
     
    173171
    17417226. Initialize DB
     173
     174Note: Before performing this step, ensure that your current user account (ie. the account you are running the command prompt under) has read/write permissions to your SVN directory (f:/tracsvn/) in order to create the Trac Sqlite database.
     175
    175176{{{
    176177Trac [f:/tracsvn/trac.db]> initdb
     
    183184  Enter project name
    184185    Project
     186  Database Connection String
     187    sqlite:db/trac.db
    185188  Enter path to repository
    186189    f:\tracsvn\
     
    19820128. Add administrative permissions (the below adds all permissions for 'admin' user)
    199202{{{
    200 Trac [f:/tracsvn/trac.db]>
    201 
    202 permission add admin TRAC_ADMIN
     203Trac [f:/tracsvn/trac.db]> permission add admin TRAC_ADMIN
    203204}}}
    204205
    205206Note that if you're using windows authentication with iis6 you can grant permissions to windows users here. Eg.
    206207{{{
    207 Trac [f:/tracsvn/trac.db]>
    208 
    209 permission add STAR\Administrator TRAC_ADMIN
     208Trac [f:/tracsvn/trac.db]> permission add STAR\Administrator TRAC_ADMIN
    210209}}}
    211210If your iis server's windows network name is "STAR", or your iis server is in the "STAR" domain.