https://bugzilla.wikimedia.org/show_bug.cgi?id=64627
--- Comment #9 from Tim Landscheidt <[email protected]> --- (In reply to metatron from comment #8) > Hmm, this need further knowledge on the subject. > 1. Lighttpd is configured without ssl engine, and makes rewrite only for > tool's root > >> ssl.engine = "disable" > >> alias.url = ( "/$tool" => "$home/public_html/" ) > [...] No, it does not rewrite only tools' roots: | scfc@tools-login:~$ curl -H 'Host: tools.wmflabs.org' -I http://tools-webgrid-02:4113/drtrigonbot/docs | HTTP/1.1 301 Moved Permanently | Location: http://tools.wmflabs.org/drtrigonbot/docs/ | Date: Mon, 02 Jun 2014 02:52:20 GMT | Server: lighttpd/1.4.28 | scfc@tools-login:~$ As I have written a month ago. And reiterated the day before yesterday. > A. lighttp request handling , debug /without/ slash > ## https://tools.wmflabs.org/newwebtest/test > 2014-05-31 19:37:21: (response.c.300) -- splitting Request-URI > 2014-05-31 19:37:21: (response.c.301) Request-URI : /newwebtest/test/ > 2014-05-31 19:37:21: (response.c.302) URI-scheme : http > 2014-05-31 19:37:21: (response.c.303) URI-authority: tools.wmflabs.org > 2014-05-31 19:37:21: (response.c.304) URI-path : /newwebtest/test/ > 2014-05-31 19:37:21: (response.c.305) URI-query : > 2014-05-31 19:37:21: (response.c.349) -- sanatising URI > 2014-05-31 19:37:21: (response.c.350) URI-path : /newwebtest/test/ > 2014-05-31 19:37:21: (mod_access.c.135) -- mod_access_uri_handler called > 2014-05-31 19:37:21: (response.c.470) -- before doc_root > 2014-05-31 19:37:21: (response.c.471) Doc-Root : > /data/project/newwebtest/public_html > 2014-05-31 19:37:21: (response.c.472) Rel-Path : /newwebtest/test/ > 2014-05-31 19:37:21: (response.c.473) Path : > 2014-05-31 19:37:21: (response.c.521) -- after doc_root > 2014-05-31 19:37:21: (response.c.522) Doc-Root : > /data/project/newwebtest/public_html > 2014-05-31 19:37:21: (response.c.523) Rel-Path : /newwebtest/test/ > 2014-05-31 19:37:21: (response.c.524) Path : > /data/project/newwebtest/public_html/newwebtest/test/ > 2014-05-31 19:37:21: (response.c.541) -- logical -> physical > 2014-05-31 19:37:21: (response.c.542) Doc-Root : > /data/project/newwebtest/public_html > 2014-05-31 19:37:21: (response.c.543) Rel-Path : /newwebtest/test/ > 2014-05-31 19:37:21: (response.c.544) Path : > /data/project/newwebtest/public_html//test/ > 2014-05-31 19:37:21: (response.c.561) -- handling physical path > 2014-05-31 19:37:21: (response.c.562) Path : > /data/project/newwebtest/public_html//test/ > 2014-05-31 19:37:21: (response.c.569) -- file found > 2014-05-31 19:37:21: (response.c.570) Path : > /data/project/newwebtest/public_html//test/ > 2014-05-31 19:37:21: (response.c.719) -- handling subrequest > 2014-05-31 19:37:21: (response.c.720) Path : > /data/project/newwebtest/public_html//test/ > 2014-05-31 19:37:21: (mod_indexfile.c.150) -- handling the request as > Indexfile > 2014-05-31 19:37:21: (mod_indexfile.c.151) URI : /newwebtest/test/ > 2014-05-31 19:37:21: (mod_access.c.135) -- mod_access_uri_handler called > 2014-05-31 19:37:21: (mod_compress.c.683) -- handling file as static file > 2014-05-31 19:37:21: (mod_staticfile.c.397) -- handling file as static file > 2014-05-31 19:37:21: (response.c.731) -- subrequest finished > [...] And this is just a lie. The request log for https://tools.wmflabs.org/newwebtest/test looks like: | 2014-06-02 03:00:13: (response.c.300) -- splitting Request-URI | 2014-06-02 03:00:13: (response.c.301) Request-URI : /newwebtest/test | 2014-06-02 03:00:13: (response.c.302) URI-scheme : http | 2014-06-02 03:00:13: (response.c.303) URI-authority: tools.wmflabs.org | 2014-06-02 03:00:13: (response.c.304) URI-path : /newwebtest/test | 2014-06-02 03:00:13: (response.c.305) URI-query : | 2014-06-02 03:00:13: (response.c.349) -- sanatising URI | 2014-06-02 03:00:13: (response.c.350) URI-path : /newwebtest/test | 2014-06-02 03:00:13: (mod_access.c.135) -- mod_access_uri_handler called | 2014-06-02 03:00:13: (response.c.470) -- before doc_root | 2014-06-02 03:00:13: (response.c.471) Doc-Root : /data/project/newwebtest/public_html | 2014-06-02 03:00:13: (response.c.472) Rel-Path : /newwebtest/test | 2014-06-02 03:00:13: (response.c.473) Path : | 2014-06-02 03:00:13: (response.c.521) -- after doc_root | 2014-06-02 03:00:13: (response.c.522) Doc-Root : /data/project/newwebtest/public_html | 2014-06-02 03:00:13: (response.c.523) Rel-Path : /newwebtest/test | 2014-06-02 03:00:13: (response.c.524) Path : /data/project/newwebtest/public_html/newwebtest/test | 2014-06-02 03:00:13: (response.c.541) -- logical -> physical | 2014-06-02 03:00:13: (response.c.542) Doc-Root : /data/project/newwebtest/public_html | 2014-06-02 03:00:13: (response.c.543) Rel-Path : /newwebtest/test | 2014-06-02 03:00:13: (response.c.544) Path : /data/project/newwebtest/public_html//test | 2014-06-02 03:00:13: (response.c.561) -- handling physical path | 2014-06-02 03:00:13: (response.c.562) Path : /data/project/newwebtest/public_html//test | 2014-06-02 03:00:13: (response.c.569) -- file found | 2014-06-02 03:00:13: (response.c.570) Path : /data/project/newwebtest/public_html//test | 2014-06-02 03:00:13: (response.c.300) -- splitting Request-URI | 2014-06-02 03:00:13: (response.c.301) Request-URI : /newwebtest/test/ | 2014-06-02 03:00:13: (response.c.302) URI-scheme : http | 2014-06-02 03:00:13: (response.c.303) URI-authority: tools.wmflabs.org | 2014-06-02 03:00:13: (response.c.304) URI-path : /newwebtest/test/ | 2014-06-02 03:00:13: (response.c.305) URI-query : | 2014-06-02 03:00:13: (response.c.349) -- sanatising URI | 2014-06-02 03:00:13: (response.c.350) URI-path : /newwebtest/test/ | 2014-06-02 03:00:13: (mod_access.c.135) -- mod_access_uri_handler called | 2014-06-02 03:00:13: (response.c.470) -- before doc_root | 2014-06-02 03:00:13: (response.c.471) Doc-Root : /data/project/newwebtest/public_html | 2014-06-02 03:00:13: (response.c.472) Rel-Path : /newwebtest/test/ | 2014-06-02 03:00:13: (response.c.473) Path : | 2014-06-02 03:00:13: (response.c.521) -- after doc_root | 2014-06-02 03:00:13: (response.c.522) Doc-Root : /data/project/newwebtest/public_html | 2014-06-02 03:00:13: (response.c.523) Rel-Path : /newwebtest/test/ | 2014-06-02 03:00:13: (response.c.524) Path : /data/project/newwebtest/public_html/newwebtest/test/ | 2014-06-02 03:00:13: (response.c.541) -- logical -> physical | 2014-06-02 03:00:13: (response.c.542) Doc-Root : /data/project/newwebtest/public_html | 2014-06-02 03:00:13: (response.c.543) Rel-Path : /newwebtest/test/ | 2014-06-02 03:00:13: (response.c.544) Path : /data/project/newwebtest/public_html//test/ | 2014-06-02 03:00:13: (response.c.561) -- handling physical path | 2014-06-02 03:00:13: (response.c.562) Path : /data/project/newwebtest/public_html//test/ | 2014-06-02 03:00:13: (response.c.569) -- file found | 2014-06-02 03:00:13: (response.c.570) Path : /data/project/newwebtest/public_html//test/ | 2014-06-02 03:00:13: (response.c.719) -- handling subrequest | 2014-06-02 03:00:13: (response.c.720) Path : /data/project/newwebtest/public_html//test/ | 2014-06-02 03:00:13: (mod_indexfile.c.150) -- handling the request as Indexfile | 2014-06-02 03:00:13: (mod_indexfile.c.151) URI : /newwebtest/test/ | 2014-06-02 03:00:13: (mod_access.c.135) -- mod_access_uri_handler called | 2014-06-02 03:00:13: (mod_compress.c.683) -- handling file as static file | 2014-06-02 03:00:13: (mod_staticfile.c.397) -- handling file as static file | 2014-06-02 03:00:13: (response.c.731) -- subrequest finished That clearly shows that there is an initial request that causes a redirect (by lighttpd) to be returned to the browser followed by another request with the correct URL. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
