Opened 16 years ago
Last modified 6 years ago
#4437 assigned defect
Multiproject report does not show projects
Reported by: | anonymous | Owned by: | EmeCas |
---|---|---|---|
Priority: | normal | Component: | TracHoursPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I inbstalled trac in multiproject configuration, using c:/trac as root dir and hanging several project below it. I also installed Trac Hours as time tracker, and after some minor issues everything went ok. The only report not working is multiproject report, the project list appears empty and hence none is shown as time consumed. I checked environment variables and works fine. My fast exploration into code gave me no clue aboou what it is going on, except that apparenty track hourse uses "get project from url" method or similar. By the way I attach the piece of apache configuration for mod_python and trac environment:
<Location /> AuthType Basic AuthName "trac" AuthUserFile /trac/trac.htpasswd Require valid-user SetHandler mod_python PythonInterpreter main_interpreter PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /trac PythonOption TracUriRoot / </Location> <Location /css> SetHandler None Options FollowSymLinks Order allow,deny Allow from All </Location> Alias /css "C:/Trac_Templates/css"
Attachments (0)
Change History (7)
comment:1 Changed 15 years ago by
comment:2 follow-up: 3 Changed 15 years ago by
A workaround for this is to edit your apache configuration:
AuthType Basic AuthName "Trac" AuthUserFile /var/trac/.htpasswd Require valid-user Allow from 127.0.0.1 Satisfy Any
Apache will then let through traffic from localhost without requiring a password.
comment:3 Changed 15 years ago by
Replying to anonymous:
Order deny,allow Deny from all AuthType Basic AuthName "Trac" AuthUserFile /var/trac/.htpasswd Require valid-user Allow from <external ip of the server> Satisfy Any
Fixed.
comment:4 Changed 14 years ago by
Owner: | changed from Jeff Hammel to Ryan J Ollos |
---|
Reassigning ticket to new maintainer.
comment:5 Changed 12 years ago by
Debian Squeeze+Apache Trac 0.11.7 TracHoursPlugin 0.5.2-r10437 Https URL and Basic Auth
Used the fixed above, still a blank page, 403 Error?
hidden:443 188.hidden.4 - - [09/Aug/2012:09:23:02 +0200] "GET /hidden1/hours?from_month=8&format=rss&from_day=2&to_year=2012&to_month=8&from_year=2012&to_day=9 HTTP/1.1" 403 3255 hidden:443 188.hidden.4 - - [09/Aug/2012:09:23:02 +0200] "GET /hidden2/hours?from_month=8&format=rss&from_day=2&to_year=2012&to_month=8&from_year=2012&to_day=9 HTTP/1.1" 403 3255 hidden:443 188.hidden.4 - - [09/Aug/2012:09:23:02 +0200] "GET /hidden3/hours?from_month=8&format=rss&from_day=2&to_year=2012&to_month=8&from_year=2012&to_day=9 HTTP/1.1" 403 3255 hidden:443 95.hidden.119 - ls [09/Aug/2012:09:23:02 +0200] "GET /hidden1/hours/multiproject HTTP/1.1" 200 3646 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.57 Safari/537.1"
No Problems with calling manual in browser (already logged in): https://hidden/hidden2/hours?from_month=8&format=rss&from_day=2&to_year=2012&to_month=8&from_year=2012&to_day=9
comment:6 Changed 8 years ago by
Owner: | Ryan J Ollos deleted |
---|
comment:7 Changed 6 years ago by
Owner: | set to EmeCas |
---|---|
Status: | new → assigned |
I'm seeing the same problem, but I think I know what's happening - although I don't know how to fix it. As you probably know, the plugin uses rss feeds to get information from other projects. I can see the rss requests getting http 401 errors when I attempt to view the multiproject page. I am also using basic authentication with an htpasswd file. I wonder if this has something to do with it?
Funny thing is I can access the rss feeds manually without difficulty. I'm not familiar with the pluggin, so that's all I can see right now.