##################################################################### # Example virtual host configuration file, without .htaccess files. # ##################################################################### ServerName test-ipv6.example.com ServerAlias *.test-ipv6.example.com ServerAlias 192.0.2.1 ServerAlias 2001:DB8::1 # Additional aliases, if you want to consider # https://github.com/falling-sky/source/wiki/TransparentMirror # By request for jfesler@test-ipv6.com ServerAlias test-ipv6.com ServerAlias *.test-ipv6.com ServerAlias testipv6.com ServerAlias *.testipv6.com ServerAlias test-ipv4.com ServerAlias *.test-ipv4.com ServerAlias testipv4.com ServerAlias *.testipv4.com ServerAlias test-ds.com ServerAlias *.test-ds.com ServerAlias testds.com ServerAlias *.testds.com ServerAlias test-v6.com ServerAlias *.test-v6.com ServerAlias testv6.com ServerAlias *.testv6.com # If you're willing to consider also being a transparent mirror # taking some of the test-ipv6.com traffic, uncomment these # ServerAlias lines as well: DocumentRoot /usr/local/www/data/virt/test-ipv6.example.com AllowOverride None # Enable etags. Improve cachability of # most stuff. FileETag MTime # We no longer will use cookies. CookieTracking off ################################################################ # Negotiation # ################################################################ Options +MultiViews LanguagePriority en-us en ForceLanguagePriority prefer fallback ################################################################ # Languages # ################################################################ AddLanguage en .en_US AddLanguage en-US .en_US AddLanguage af .af_ZA AddLanguage af-ZA .af_ZA AddLanguage az .az_AZ AddLanguage az-AZ .az_AZ AddLanguage ceb .ceb_PH AddLanguage ceb-PH .ceb_PH AddLanguage cs .cs_CZ AddLanguage cs-CZ .cs_CZ AddLanguage da .da_DK AddLanguage da-DK .da_DK AddLanguage de .de_DE AddLanguage de-DE .de_DE AddLanguage el .el_GR AddLanguage el-GR .el_GR AddLanguage eo .eo_UY AddLanguage eo-UY .eo_UY AddLanguage es .es_ES AddLanguage es-ES .es_ES AddLanguage es .es_VE AddLanguage es-VE .es_VE AddLanguage fi .fi_FI AddLanguage fi-FI .fi_FI AddLanguage fil .fil_PH AddLanguage fil-PH .fil_PH AddLanguage fr .fr_FR AddLanguage fr-FR .fr_FR AddLanguage hr .hr_HR AddLanguage hr-HR .hr_HR AddLanguage hu .hu_HU AddLanguage hu-HU .hu_HU AddLanguage it .it_IT AddLanguage it-IT .it_IT AddLanguage ja .ja_JP AddLanguage ja-JP .ja_JP AddLanguage ka .ka_GE AddLanguage ka-GE .ka_GE AddLanguage kaa .kaa AddLanguage ko .ko_KR AddLanguage ko-KR .ko_KR AddLanguage nb .nb_NO AddLanguage nb-NO .nb_NO AddLanguage nl .nl_NL AddLanguage nl-NL .nl_NL AddLanguage pl .pl_PL AddLanguage pl-PL .pl_PL AddLanguage pt .pt_BR AddLanguage pt-BR .pt_BR AddLanguage pt .pt_PT AddLanguage pt-PT .pt_PT AddLanguage ro .ro_RO AddLanguage ro-RO .ro_RO AddLanguage ru .ru_RU AddLanguage ru-RU .ru_RU AddLanguage sk .sk_SK AddLanguage sk-SK .sk_SK AddLanguage sq .sq_AL AddLanguage sq-AL .sq_AL AddLanguage sv .sv_SE AddLanguage sv-SE .sv_SE AddLanguage tl .tl_PH AddLanguage tl-PH .tl_PH AddLanguage tr .tr_TR AddLanguage tr-TR .tr_TR AddLanguage uk .uk_UA AddLanguage uk-UA .uk_UA AddLanguage ur .ur_PK AddLanguage ur-PK .ur_PK AddLanguage zh .zh_CN AddLanguage zh-CN .zh_CN AddLanguage zh .zh_TW AddLanguage zh-TW .zh_TW ################################################################ # file types # ################################################################ AddType "text/html;charset=UTF-8" .html AddType "text/javascript;charset=UTF-8" .js AddType "text/css;charset=UTF-8" .css AddType "text/plain;charset=UTF-8" .yaml RemoveType .gz AddEncoding x-gzip .gz #EOF ################################################################ # Hide private files # ################################################################ order allow,deny deny from all RewriteRule ^/isp/ /isp.html [R] RewriteEngine On # "Transparent Mirrors" - those answering # to the name "test-ipv6.com" - need to redirect # the SSL certificate challenge, to the location # where we generate combination SSL certs containing # both the "test-ipv6.com" name and your mirror name. # if you're not running a transparent mirror, your site # should not be in this list. # # https://github.com/falling-sky/source/wiki/SSL-and-HTTP-2-plans # # This is the list of "transparent" mirrors # that need SSL certificates for "test-ipv6.com". RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?testipv6\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?testv6\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv4\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?testipv4\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?testv4\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ds\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?testds\.com$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.[a-z]+\.vr\.org$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.comcast.net$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6-vm1\.comcast.net$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6-vm2\.comcast.net$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6-vm3\.comcast.net$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6-vm4\.comcast.net$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.zw\.liquidtelecom.net$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.ke\.liquidtelecom.net$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.arauc\.br$ [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.go6\.si [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.jp [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.null\.nu [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.roedu\.net [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.noroutetohost\.net [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.com\.au [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.ttk\.ru [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.tascom\.com\.br [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.usetelecom\.com\.br [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.alpinedc\.ch [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.is [NC,OR] RewriteCond %{HTTP_HOST} ^(.*\.)?test-ipv6\.rjkonect\.com\.br [NC] #### LAST ALL BUT LAST ONE SHOULD HAVE [NC,OR] RewriteRule "^(.well-known/acme-.*)$" http://validation-server.test-ipv6.com/$1 [R,L] ##################################################################### # Help with auditing remote mirrors to see which version of these # # Apache config files are being used by creating an artificial HTTP # # redirect back to the main page # # # ##################################################################### Redirect 307 /htrev/ /?htrev=1.1.976-04bf0d3d0fa27f47a88bb82f0b21c193 # mod_ip - reports IP address. # arguments # # callback=functionname # fill=1600 to pad to 1600 bytes # asn=1 to get ASN details of the IP address, including ISP name SetHandler mod_ip FileETag none ExpiresActive off Header append Expires "Mon, 01 Jan 2035 00:00:00 GMT" RequestHeader unset If-Modified-Since FileETag none ExpiresActive off Header append Expires "Thu, 01 Jan 1971 00:00:00 GMT" RequestHeader unset If-Modified-Since