apache - DirectoryIndex - php page with arguments -
i've got single tikiwiki instance , several domain names. want domain-1.com have homepage @ domain-1.com/tiki-index.php?page-1. , want domain-2.com have homepage @ domain-2.com/tiki-index.php?page-2. both internally map same tikiwiki instance.
i.e. want several domains point same tikiwiki instance. coming different domains should land @ different home pages. , user manually navigate domain-1.com/tiki-index.php?page-1 (hompage) domain-1.com/tiki-index.php?page-2
i tried setting directoryindex looks ignores page arguments, i.e. ?page-1.
any clues how make index page arguments?
did mylsef
rewriteengine on rewritecond %{request_uri} "^/$" rewriterule ^(.*) "http://domain-1.com/tiki-index.php?page=page-1" the key here set rewrite condition match empty uri, default address - http://domain-1.com
Comments
Post a Comment