Edgewall Software

Changes between Version 59 and Version 60 of TracCgi


Ignore:
Timestamp:
Mar 23, 2015, 6:12:57 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

D.R.Y.

Legend:

Unmodified
Added
Removed
Modified
  • TracCgi

    v59 v60  
    44
    55{{{#!div class=important
    6   ''Please note that using Trac via CGI is the slowest deployment method available. It is slower than [TracModPython mod_python], [TracFastCgi FastCGI] and even [trac:TracOnWindowsIisAjp IIS/AJP] on Windows.''
     6 ''Please note that using Trac via CGI is the slowest deployment method available. It is slower than [TracModPython mod_python], [TracFastCgi FastCGI] and even [trac:TracOnWindowsIisAjp IIS/AJP] on Windows.''
    77}}}
    88
    9 CGI script is the entrypoint that web-server calls when a web-request to an application is made. To generate the `trac.cgi` script run:
    10 {{{#!sh
    11 trac-admin /path/to/env deploy /path/to/www/trac
    12 }}}
    13 `trac.cgi` will be in the `cgi-bin` folder inside the given path. ''Make sure it is executable by your web server''. This command also copies `static resource` files to a `htdocs` directory of a given destination.
     9CGI script is the entrypoint that web-server calls when a web-request to an application is made. The `trac.cgi` script can be created using the `trac-admin <env> deploy <dir>` command which automatically substitutes the required paths, see TracInstall#cgi-bin. Make sure the script is executable by your web server.
    1410
    1511== Apache web-server configuration