https://bugzilla.wikimedia.org/show_bug.cgi?id=64627

--- Comment #8 from metatron <[email protected]> ---
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/" )

2. the requested url /is/ https and should be served as https. This is
indsiputabled the job of webproxy, as lighty doesn't know anything about ssl.

3. the debug output below shows 2 requests, https with and without trauling
slash for static index.html in /newwebtest/test  folder - they are both
identical (as expected on lighty's side)



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 


B. lighttp request handling , debug /with/ slash
## https://tools.wmflabs.org/newwebtest/test/

2014-05-31 19:40:57: (response.c.300) -- splitting Request-URI 
2014-05-31 19:40:57: (response.c.301) Request-URI  :  /newwebtest/test/ 
2014-05-31 19:40:57: (response.c.302) URI-scheme   :  http 
2014-05-31 19:40:57: (response.c.303) URI-authority:  tools.wmflabs.org 
2014-05-31 19:40:57: (response.c.304) URI-path     :  /newwebtest/test/ 
2014-05-31 19:40:57: (response.c.305) URI-query    :   
2014-05-31 19:40:57: (response.c.349) -- sanatising URI 
2014-05-31 19:40:57: (response.c.350) URI-path     :  /newwebtest/test/ 
2014-05-31 19:40:57: (mod_access.c.135) -- mod_access_uri_handler called 
2014-05-31 19:40:57: (response.c.470) -- before doc_root 
2014-05-31 19:40:57: (response.c.471) Doc-Root     :
/data/project/newwebtest/public_html 
2014-05-31 19:40:57: (response.c.472) Rel-Path     : /newwebtest/test/ 
2014-05-31 19:40:57: (response.c.473) Path         :  
2014-05-31 19:40:57: (response.c.521) -- after doc_root 
2014-05-31 19:40:57: (response.c.522) Doc-Root     :
/data/project/newwebtest/public_html 
2014-05-31 19:40:57: (response.c.523) Rel-Path     : /newwebtest/test/ 
2014-05-31 19:40:57: (response.c.524) Path         :
/data/project/newwebtest/public_html/newwebtest/test/ 
2014-05-31 19:40:57: (response.c.541) -- logical -> physical 
2014-05-31 19:40:57: (response.c.542) Doc-Root     :
/data/project/newwebtest/public_html 
2014-05-31 19:40:57: (response.c.543) Rel-Path     : /newwebtest/test/ 
2014-05-31 19:40:57: (response.c.544) Path         :
/data/project/newwebtest/public_html//test/ 
2014-05-31 19:40:57: (response.c.561) -- handling physical path 
2014-05-31 19:40:57: (response.c.562) Path         :
/data/project/newwebtest/public_html//test/ 
2014-05-31 19:40:57: (response.c.569) -- file found 
2014-05-31 19:40:57: (response.c.570) Path         :
/data/project/newwebtest/public_html//test/ 
2014-05-31 19:40:57: (response.c.719) -- handling subrequest 
2014-05-31 19:40:57: (response.c.720) Path         :
/data/project/newwebtest/public_html//test/ 
2014-05-31 19:40:57: (mod_indexfile.c.150) -- handling the request as Indexfile 
2014-05-31 19:40:57: (mod_indexfile.c.151) URI          : /newwebtest/test/ 
2014-05-31 19:40:57: (mod_access.c.135) -- mod_access_uri_handler called 
2014-05-31 19:40:57: (mod_compress.c.683) -- handling file as static file 
2014-05-31 19:40:57: (mod_staticfile.c.397) -- handling file as static file 
2014-05-31 19:40:57: (response.c.731) -- subrequest finished

-- 
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

Reply via email to