Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine on
- RewriteCond %{HTTP_HOST} !^www\.
- RewriteCond %{REQUEST_URI} !index\.php
- RewriteCond %{HTTP_HOST} ^(.+?)\.mydomain\.com$
- RewriteRule .* /index.php?username=%1 [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement