Sub Domain Mod Rewrite (+rep for help!)

Discussion in 'Apache' started by okgaz, Jul 24, 2007.

  1. #1
    I have 2 subdomains pointing to the same directory (since that is where the script they both use is) + I want them to show different pages.

    sub1.domain.com/ to show page index1.php
    and
    sub2.domain.com/ to show page index2.php

    Is it possible to write a mod rewrite rule for this?

    -Gaz
     
    okgaz, Jul 24, 2007 IP