.htaccess 437 B

12345678910
  1. Redirect /library/test/success.html http://10.1.1.1/index.html
  2. Redirect /hotspot-detect.html http://10.1.1.1/index.html
  3. Redirect /ncsi.txt http://10.1.1.1/index.html
  4. Redirect /connecttest.txt /index.html
  5. Redirect /fwlink/ http://10.1.1.1/index.html
  6. Redirect /generate_204 http://10.1.1.1/index.html
  7. RewriteEngine on
  8. RewriteCond %{HTTP_USER_AGENT} ^CaptiveNetworkSupport(.*)$ [NC]
  9. RewriteRule ^(.*)$ http://10.1.1.1/index.html [L,R=301]