I use auth.wiki. If reverse proxy is acting as path through, wrong links in the HTML stream. A solution, using ProxyHTMLURLMap to fix the links. If I don't use auth.wik, reverse proxy is set as path through, every thing works fine. Where could be the solution for this issue?
Am Montag, 21. September 2015 14:28:09 UTC+2 schrieb Niphlod: > > web2py can't be blamed if your reverse proxy is not acting as a > passthrough .... > > On Monday, September 21, 2015 at 8:13:38 AM UTC+2, Daniel Vogel wrote: >> >> Hi, >> >> Some additional information. With older web2py versions (bootstrap 2.x) >> we have wrong sizing with the login behind reverse proxy (field has not the >> normal size). >> With the new web2py version the problem is gone, but a new one appeared >> (see my first screen shot). I think it's a bug. >> >> >> >> <https://lh3.googleusercontent.com/-ONo-vBf7udE/Vf-fBfucd_I/AAAAAAAAADE/woX1ZERn_P4/s1600/Login-field.png> >> (Login field behind reverse proxy, bootstrap 2.x) >> >> Thanks >> >> >> Am Mittwoch, 9. September 2015 04:48:42 UTC+2 schrieb Daniel Vogel: >>> >>> Hi, >>> >>> I use web2py 2.12.3 with auth.wiki. In development mode, no problem with >>> HTML rendering. But behind a Apache reverse proxy in need some rules to >>> change HTML URL's. >>> >>> ProxyHTMLEnable On >>> ProxyHTMLLinks img src >>> ProxyHTMLLinks a href >>> >>> <Location "/eav"> >>> Require all granted >>> ProxyPass http://localhost:8000/eav >>> ProxyPassReverse http://localhost:8000/ >>> ProxyHTMLURLMap http://localhost:8000/eav /eav >>> </Location> >>> >>> With this settings the grid form is deformed, the first search field is >>> as high as the display. If I remove the "ProxyHTMLURLMap", it's ok, but all >>> the img URL's has localhost:8000 in auth.wiki. >>> >>> >>> >>> <https://lh3.googleusercontent.com/-iWdmy8meog0/Ve8uWw-A80I/AAAAAAAAAC0/xY0nzFBfp_0/s1600/Grid.png> >>> >>> >>> >>> How can I fix this problem? >>> >>> >>> Thanks >>> >>> <https://lh3.googleusercontent.com/-iWdmy8meog0/Ve8uWw-A80I/AAAAAAAAAC0/xY0nzFBfp_0/s1600/Grid.png> >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.