hi,
right now i have a silverstripe installation in a subfolder of root: /cms
i use two .htaccess files, one in root, the other one in /cms - so the user doesn't know he's actually in /cms
now i would start working on a update and would like to install a new version of ss to another folder: /cms_2.4
so i would like the visitors still see my old site, but my ip should redirect to the new one in /cms_2.4
my .htaccess in webroot is:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /cms/
RewriteCond %{REQUEST_URI} !^/cms/
RewriteRule ^(.*)$ /cms/$1
</IfModule>
i would like to have something like that:
if !myip
goto /cms
else
goto /cms_2.4
how are the new redirect rules?
thanks