Changes between Version 2 and Version 3 of TracCgi
- Timestamp:
- 05/10/20 17:24:54 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracCgi
v2 v3 11 11 == Apache web-server configuration 12 12 13 In [http ://httpd.apache.org/ Apache] there are two ways to run Trac as CGI:13 In [https://httpd.apache.org/ Apache] there are two ways to run Trac as CGI: 14 14 15 15 1. Use a `ScriptAlias` directive that maps a URL to the `trac.cgi` script (recommended) … … 49 49 }}} 50 50 51 If you are using the [http ://httpd.apache.org/docs/suexec.html Apache suEXEC] feature please see [trac:ApacheSuexec].51 If you are using the [https://httpd.apache.org/docs/suexec.html Apache suEXEC] feature please see [trac:ApacheSuexec]. 52 52 53 53 On some systems, you ''may'' need to edit the shebang line in the `trac.cgi` file to point to your real Python installation path. On a Windows system you may need to configure Windows to know how to execute a `.cgi` file (Explorer -> Tools -> Folder Options -> File Types -> CGI). … … 74 74 === Using WSGI 75 75 76 You can run a [http://henry.precheur.org/python/how_to_serve_cgi WSGI handler] [http ://pythonweb.org/projects/webmodules/doc/0.5.3/html_multipage/lib/example-webserver-web-wsgi-simple-cgi.html under CGI]. You can [wiki:TracModWSGI#Thetrac.wsgiscript write your own application function], or use the deployed trac.wsgi's application.76 You can run a [http://henry.precheur.org/python/how_to_serve_cgi WSGI handler] [https://thejimmyg.github.io/pythonweb/projects/webmodules/doc/0.5.3/html_multipage/lib/example-webserver-web-wsgi-simple-cgi.html under CGI]. You can [wiki:TracModWSGI#Thetrac.wsgiscript write your own application function], or use the deployed trac.wsgi's application. 77 77 78 78 == Mapping Static Resources