Changes between Version 15 and Version 16 of TracOnWindowsIis6
- Timestamp:
- Mar 8, 2006, 9:57:39 PM (18 years ago)
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 == 2 2 3 3 For: 4 4 * Windows 2003 Server SP1 5 5 * IIS 6 6 * Trac 0.9 6 7 Trac running on Microsoft's Internet Information Server (IIS) is _highly_ experimental. See #692 #693 and #697. 7 8 … … 125 126 20. Install Trac 126 127 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. 130 129 131 130 === Fix a few things === 132 131 133 132 23. 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)135 133 136 134 In wtrac.py add the line [import os;os.environ['TRAC_ENV'] = 'F:\\tracsvn\\trac.db'] to the first try block as shown here: … … 146 144 147 145 23a. 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 says146 In F:\Python23\Lib\site-packages\trac\web\cgi_frontend.py: class CGIRequest, change the real_cgi_start function where it says 149 147 {{{ 150 148 path_info = os.getenv('PATH_INFO') … … 173 171 174 172 26. Initialize DB 173 174 Note: 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 175 176 {{{ 176 177 Trac [f:/tracsvn/trac.db]> initdb … … 183 184 Enter project name 184 185 Project 186 Database Connection String 187 sqlite:db/trac.db 185 188 Enter path to repository 186 189 f:\tracsvn\ … … 198 201 28. Add administrative permissions (the below adds all permissions for 'admin' user) 199 202 {{{ 200 Trac [f:/tracsvn/trac.db]> 201 202 permission add admin TRAC_ADMIN 203 Trac [f:/tracsvn/trac.db]> permission add admin TRAC_ADMIN 203 204 }}} 204 205 205 206 Note that if you're using windows authentication with iis6 you can grant permissions to windows users here. Eg. 206 207 {{{ 207 Trac [f:/tracsvn/trac.db]> 208 209 permission add STAR\Administrator TRAC_ADMIN 208 Trac [f:/tracsvn/trac.db]> permission add STAR\Administrator TRAC_ADMIN 210 209 }}} 211 210 If your iis server's windows network name is "STAR", or your iis server is in the "STAR" domain.