#----------------------------------------------------------
# Root server config
# .htaccess
#
# On Root Server shoul be this file
# '#!' Means switching between development & prodction
#___________________________________________________________
RewriteEngine On
## When using the script within a sub-folder, put this path here, like /TEST/php-login/
## If your app is in the root of your web folder, then please delete this line or comment it out
RewriteBase /1/ADL/ttp/public/tentupagina.com/
## Check if a dir and folder is required
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
## Redirect to site.php in case '$/var/$var'
RewriteRule ^(.*)/(.*)$ ttp/site-builder/application/site.php?site=$1§ion=$2 [PT]
## Redirect to site.php in case '$/var', append '/'
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://localhost/1/ADL/ttp/public/tentupagina.com/$1/ [L,R=301]
#! RewriteRule ^(.*)$ http://www.tentupagina.com/$1/ [L,R=301]