Download presentation
Presentation is loading. Please wait.
1
Apache Traffic Redirection Jed Reynolds Blog.Bitratchet.com @jed_reynolds
2
Frog and Toad Frog.com buys Toad.net Homepage Document directory Filenames Secure Login
3
Redirect Homepage http://*.toad.net Welcome Toad Users http://toad.frog.com/ Frog.com/toad.htm
4
Redirect Homepage Mod Rewrite RewriteCond HTTP_HOST ^(.*)\.toad\.net$ RewriteRule ^/$ < uri http://%1.frog.com/toad.htm? < header
5
Redirect all pages Mod Rewrite or Mod Alias Notice the Slash RewriteCond HTTP_HOST ^(.*)\.toad\.net$ RewriteRule ^/(.+)$ < uri http://%1.frog.com/$1? < header
6
Document Directory Toad.net/userman/index.htm Frog.com/userman/index.htm Frog.com/support/toad/index.htm
7
Document Directory mod_alias from RedirectMatch permanent ^/userman/(.*) http://www.frog.com/support/toad/$1
8
Filenames Frog.com uses.php Toad.com uses.pl
9
File Names mod_alias Alias /userman < uri /support/toad < disk AliasMatch /userman/(*)\.pl) /support/toad/$1.php
10
Secure Login https://dash.frog.com/ http://Toad.com/cgi-bin/login.pl Enforce HTTPS on the subdomain
11
Secure Login Mod Rewrite directory Mod Rewrite, Rewrite Condition RewriteRule ^/cgi-bin/login.*$ https://dash.frog.com/https://dash.frog.com/ [R=301][L] RewriteCond %{HOST_NAME} ^dash\.frog\.com$ RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://dash.frog.com$1
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.