Modify ↓
Opened 20 years ago
Closed 20 years ago
#837 closed defect (worksforme)
ModPython breaks with trailing slash in PythonOption TracUriRoot
Reported by: | Owned by: | Christopher Lenz | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/mod_python | Version: | 0.7.1 |
Severity: | major | Keywords: | apache |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
ModPython breaks with trailing slash in PythonOption TracUriRoot="xyz". On Apache Windows platform
Note examples don't use quotes round PythonOption parameters, though omitting them breaks Apache.
The parsing in the trac.ModPythonHandler copies the quote (") into the directory path, thus breaking the web server.
printing the path in send_project_index() proves this.
Attachments (0)
Change History (2)
comment:1 by , 20 years ago
Description: | modified (diff) |
---|
comment:2 by , 20 years ago
Keywords: | mod_python removed |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I can't reproduce this problem with Apache HTTP 2.0.52 and ModPython 3.1.3 on Mac OS X.
Actually, the mod_python handler explicitly strips trailing slashes as to avoid such problems.
Note that the proper syntax for setting the option would be:
I'm closing this as "worksforme". If you reopen, please provide more details. What's the exact syntax of your configuration? How do the links on the project index look like? What's your setup?