Skip to content
  • danw@gnome.org's avatar
    Tools: Add Apache 2.4 support for Fedora 18 · 09940431
    danw@gnome.org authored
    https://bugs.webkit.org/show_bug.cgi?id=104478
    
    Reviewed by Martin Robinson.
    
    Apache 2.4's httpd.conf is slightly incompatible with 2.2's, so we
    need a separate config.
    
    * Scripts/webkitpy/layout_tests/port/base.py:
    (Port._apache_version):
    (Port._apache_config_file_name_for_platform):
    * Scripts/webkitpy/layout_tests/port/port_testcase.py:
    * Scripts/run-webkit-httpd:
    * Scripts/webkitperl/httpd.pm:
    (getApacheVersion):
    (getDefaultConfigForTestDirectory):
    (getHTTPDConfigPathForTestDirectory):
    
    LayoutTests: Updates for Apache 2.4
    https://bugs.webkit.org/show_bug.cgi?id=104478
    
    Reviewed by Martin Robinson.
    
    Apache 2.4 requires a slightly different config from 2.2, so split
    fedora-httpd.conf into separate 2.2 and 2.4 versions.
    
    2.4 is also more picky about passing request headers to CGI
    scripts, and will ignore headers that aren't valid according to
    the HTTP grammar, so change underscores to hyphens to fix them.
    
    * http/conf/fedora-httpd-2.2.conf: Renamed from
    LayoutTests/http/conf/fedora-httpd.conf.
    * http/conf/fedora-httpd-2.4.conf: Based on
    LayoutTests/http/conf/fedora-httpd.conf and updated for 2.4.
    * http/tests/cookies/resources/cookies-test-pre.js:
    (setCookies):
    (clearCookies):
    * http/tests/navigation/ping-cookie.html:
    * http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-value.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    09940431