diff --git a/third_party/blink/tools/apache_config/win-httpd-php8.conf b/third_party/blink/tools/apache_config/win-httpd-php8.conf new file mode 100644 index 0000000000000..c6e951f7dee50 --- /dev/null +++ b/third_party/blink/tools/apache_config/win-httpd-php8.conf @@ -0,0 +1,141 @@ +ServerTokens Prod +Timeout 300 +KeepAlive On +# Setting this value too low may change header size sometimes making flakey tests. +MaxKeepAliveRequests 0 +KeepAliveTimeout 9999 + +LoadModule access_compat_module modules/mod_access_compat.so +LoadModule asis_module modules/mod_asis.so +LoadModule authn_core_module modules/mod_authn_core.so +LoadModule authz_core_module modules/mod_authz_core.so +LoadModule authz_host_module modules/mod_authz_host.so +LoadModule autoindex_module modules/mod_autoindex.so +LoadModule cgi_module modules/mod_cgi.so +LoadModule env_module modules/mod_env.so +LoadModule headers_module modules/mod_headers.so +LoadModule log_config_module modules/mod_log_config.so +LoadModule mime_module modules/mod_mime.so +LoadModule php_module modules/php8apache2_4.dll +LoadModule alias_module modules/mod_alias.so +LoadModule rewrite_module modules/mod_rewrite.so +LoadModule ssl_module modules/mod_ssl.so + +ServerName 127.0.0.1 + +ScriptInterpreterSource Registry-Strict + + + Options Indexes FollowSymLinks MultiViews ExecCGI Includes + AllowOverride All + Order allow,deny + Allow from all + + +AccessFileName .htaccess + + + Order allow,deny + Deny from all + Satisfy All + + +UseCanonicalName On +HostnameLookups Off + +PassEnv TEMP TMP TMPDIR + +LogLevel warn +LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined +LogFormat "%h %l %u %t \"%r\" %>s %b" common +LogFormat "%{Referer}i -> %U" referer +LogFormat "%{User-agent}i" agent + +ServerSignature On + +AddLanguage da .dk +AddLanguage nl .nl +AddLanguage en .en +AddLanguage et .ee +AddLanguage fr .fr +AddLanguage de .de +AddLanguage el .el +AddLanguage he .he +AddCharset ISO-8859-8 .iso8859-8 +AddLanguage it .it +AddLanguage ja .ja +AddCharset ISO-2022-JP .jis +AddLanguage kr .kr +AddCharset ISO-2022-KR .iso-kr +AddLanguage nn .nn +AddLanguage no .no +AddLanguage pl .po +AddCharset ISO-8859-2 .iso-pl +AddLanguage pt .pt +AddLanguage pt-br .pt-br +AddLanguage ltz .lu +AddLanguage ca .ca +AddLanguage es .es +AddLanguage sv .sv +AddLanguage cs .cz .cs +AddLanguage ru .ru +AddLanguage zh-TW .zh-tw +AddCharset Big5 .Big5 .big5 +AddCharset WINDOWS-1251 .cp-1251 +AddCharset CP866 .cp866 +AddCharset ISO-8859-5 .iso-ru +AddCharset KOI8-R .koi8-r +AddCharset UCS-2 .ucs2 +AddCharset UCS-4 .ucs4 +AddCharset UTF-8 .utf8 + + + LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw + + +AddType application/x-tar .tgz + +AddEncoding x-compress .Z +AddEncoding x-gzip .gz .tgz + +AddHandler cgi-script .cgi .pl + +AddType text/html .shtml +AddHandler server-parsed .shtml + +AddHandler send-as-is asis + +AddType application/x-httpd-php .php +AddType application/x-httpd-php .bat +AddType application/x-httpd-php-source .phps + + + DirectoryIndex index.html index.php + + +php_flag log_errors on +php_flag short_open_tag on + +RewriteEngine On +RewriteCond %{REQUEST_METHOD} ^TRACE +RewriteRule .* - [F] + + + ServerName 127.0.0.1 + SSLEngine On + + +# +# Apple-specific filesystem protection. +# + + Order allow,deny + Deny from all + Satisfy All + + + + Order allow,deny + Deny from all + Satisfy All + diff --git a/third_party/blink/tools/blinkpy/web_tests/port/win.py b/third_party/blink/tools/blinkpy/web_tests/port/win.py index da8d56bec2b37..cbf9c87c53e59 100644 --- a/third_party/blink/tools/blinkpy/web_tests/port/win.py +++ b/third_party/blink/tools/blinkpy/web_tests/port/win.py @@ -231,6 +231,9 @@ def path_to_apache(self): 'bin', 'httpd.exe') def path_to_apache_config_file(self): + if self._architecture == 'arm64': + return self._filesystem.join(self.apache_config_directory(), + 'win-httpd-php8.conf') return self._filesystem.join(self.apache_config_directory(), 'win-httpd.conf')