Anonymous Login
2023-01-31 15:20 PST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000566Pending Requests[All Projects] Generalpublic2014-07-03 17:05
Reportercaseydk 
Assigned Tocaseydk 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionduplicate 
Product Version 
Target VersionFixed in Version 
Summary0000566: Reverse Proxy Handling
DescriptionI'm working with the latest release of web2project 2.0 and noticed it wasn't work properly with my reverse proxy setup. I have found a workaround.
Line 44 in base.php:

Code:
$baseUrl .= safe_get_env('HTTP_X_FORWARDED_HOST') or safe_get_env('HTTP_HOST');


Instead of relying on the host HTTP_HOST, it gives priority to the forwarded HTTP_HOST from the upstream proxy. If it doesn't exist, it will use the HTTP_HOST.
Additional InformationSource: http://forums.web2project.net/viewtopic.php?t=2524
TagsNo tags attached.
Attached Files

-Relationships
has duplicate 0001186new Web2project through reverse proxy (3.0 pre) 
+Relationships

-Notes

~0002656

laussetdelon (reporter)

The reverse proxy process is almost working when addind the following directive in reverse proxy configuration :
ProxyPassReverseCookiePath / /
It doesn't come back to login page (previous problem) BUT for exeample when trying to create a task "save", tabs (details, dates ...) don't work

~0003537

caseydk (administrator)

Closing this in favor of the 0001186
+Notes

-Issue History
Date Modified Username Field Change
2010-08-29 20:21 caseydk New Issue
2012-10-01 02:46 laussetdelon Note Added: 0002656
2014-07-03 17:04 caseydk Relationship added has duplicate 0001186
2014-07-03 17:05 caseydk Note Added: 0003537
2014-07-03 17:05 caseydk Status new => closed
2014-07-03 17:05 caseydk Assigned To => caseydk
2014-07-03 17:05 caseydk Resolution open => duplicate
+Issue History