Hi,
Let's say I have a domain http://www.mycompany.com.
This site base directory is /www/site/html/
We have a .htaccess file on the base dir as follows :
RewriteRule ^(secure|contents|backup|image_upload|includes|login|javascript\.js)($|/) - [L] RewriteRule ^(.*)$ index.php?sc=$1 [QSA,L]