Alright, I know its kind of a weird thing to do, but...
I developed a site in a sub folder, and instead of moving all of the files into the root folder, we have set up the .htaccess file to hide the sub folder...
actual: http://www.example.com/new_site/SS_PAGE
perceived: http://www.example.com/SS_PAGE
now the site works as it should and what not, until I goto /admin and get redirected to example.com/Security/Login. I enter the admin details, and get redirected back to the login screen. For some reason I can NOT get into the admin...
heres my htaccess file.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /new_site/
RewriteRule index\.htm http://www.example.com/ [r=301,L,NC]
#Direct to Silverstripe
RewriteCond %{REQUEST_URI} ^(.*)$
#RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !/(themes|assets|jsparty|blog|pdf|images)
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L,NC]
#Do not direct to Silverstripe
RewriteCond %{REQUEST_URI} /(themes|assets|jsparty|blog|sapphire)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) $1 [L,NC]
</IfModule>
any help would be greatly appreciated.