Advertisement
Pctech37

Test Cases for 'mod_rewrite' Implementation

Jun 28th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. "http://welcometoexample.com" -> "http://example.com"
  2. "http://welcometoexample.com/" -> "http://example.com/"
  3. "https://welfdsfsaf.org" -> "https://example.com"
  4. "https://9983053.welfsaf.org" -> "https://9983053.example.com"
  5. "https://9983053.welfsaf.org/" -> "https://9983053.example.com/"
  6. "https://sea.i.example.com/lol.php?q=turtles" -> "https://sea.i.example.com/lol.php?q=turtles"
  7.  
  8. PROTOCOL://[SUBDOMAINS.]*.*[/PATH] -> PROTOCOL://[SUBDOMAINS.]perfectbrand.com[/PATH]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement