I am new to .htaccess and mod rewrite. I need help to achieve the following.
All requests in the form
should be redirected to
except for subdomains sub1 and sub2.
what are the mod rewrite statements I have to use?
All requests in the form
| Code: |
| http://<subdomain>.example.com/<filename>
|
should be redirected to
| Code: |
| http://example.com/<subdomain>_<filename>
|
except for subdomains sub1 and sub2.
what are the mod rewrite statements I have to use?
