> If you are not using IIS, you will need to write python code to replace tracd.
No need to write any Python code.
Example for web.config to serve
http://localhost/trac
====
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="httpPlatformHandler" path="*" verb="*"
modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform
processPath="<your-venv>\Scripts\tracd.exe"
arguments="-s --port=%HTTP_PLATFORM_PORT%
--basic-auth=*,<your-htpasswd-file>,Trac --base-path=/trac
<your-tracenv>"
stdoutLogEnabled="false"
startupTimeLimit="60"
processesPerApplication="4"
>
<environmentVariables>
</environmentVariables>
</httpPlatform>
</system.webServer>
</configuration>
====
> To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/CAPCiUfx6JB%2BqMrMswFy-yVhMG7ruuVKWFxcuA3dYSBtNyjxPtA%40mail.gmail.com.