How to do this with mod_rewrite
I have two conditions that need to be met to do specific things with mod_rewrite:

 - admin.something.com should go to something.com/admin (as should something.com/admin)
 - anythingelse.something.com should go to something.com/index.php?school=anythingelse, as should something.com/anythingelse

I assume(/hope) this is pretty simple, but I have absolutely no knowledge of mod_rewrite. Any help would be greatly appreciated. Thanks!
How to do this with mod_rewrite
===

I have two conditions that need to be met to do specific things with mod_rewrite:

 - admin.something.com should go to something.com/admin (as should something.com/admin)
 - anythingelse.something.com should go to something.com/index.php?school=anythingelse, as should something.com/anythingelse

I assume(/hope) this is pretty simple, but I have absolutely no knowledge of mod_rewrite. Any help would be greatly appreciated. Thanks!