Is it possible to use rewrite rules depending on a php variable? for example, i got 10 websites with 10 domains. each website got a "config.php". Inside this file, there is a variable called $city.
can i rewrite the url in this style?
pseudocode:
if ($city == 'berlin') {
page.php = page-berlin.php
}