Wasnt sure where to post this as I suppose you could call it a "Nix" or a "php" topic.
I have .htaccess looking like this...
RewriteEngine On
RewriteBase /
RewriteRule ^([a-z]+)/([a-z]+)/?$ /SCRIPTS/cleanurls/index.php?q=$1&r=$2
.. and it all works fine.
However, for the sake of easy deployment, I would like to not have to alter the .htaccess
file for every install i do of this custom CMS.
Is there something I can use in the place of the "/SCRIPTS/cleanurls/" part of the rule,
I presume I cannot call a php function through modrewrite like dirname($_SERVER['REQUEST_URI'])

any ideas?