Created
May 9, 2013 09:42
-
-
Save claudioc/5546590 to your computer and use it in GitHub Desktop.
[DSL O2] How to remove the redirection to o2suchedns.aol.de and make it point to Google
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this line in your /etc/hosts | |
127.0.0.1 o2suchedns.aol.de | |
# Create a VirtualHost like this and restart Apache | |
<VirtualHost *:80> | |
ServerName o2suchedns.aol.de | |
RewriteEngine On | |
RewriteCond %{QUERY_STRING} query=(.*) | |
RewriteRule ^aol/afe_x$ https://www.google.com/search?q=%1 [L] | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment