On Mon, 10 Nov 2008, Mark Stodola wrote:

You are going to want to use the referrer.

Or just the REMOTE_ADDR variable... :-) (since that will also pick up people typing the address by hand)...

This site might get you started: http://borkweb.com/story/apache-rewrite-cheatsheet
If you need more info, check apache's docs or hit up your search engine.
The other option is to use apache's virtual hosting and separate the sites out from the start; then put the rules in the config file instead of relying on htaccess.

Reply via email to