Hi
I installed the silverstripe and started working on it. Later on I have been told to put a splash page so if public visits the domain we will be able to present a simple form for subscription. Now, this page is not done with silverstripe, it is pure php file and has a process script to handle the form submission, basically seperate from the main site. What I would like to do is, only redirect user if they visit the domain, and still be able to access to /home/ and other pages that I have been working on.
I have tried following, but failed to work
RewriteCond %{HTTP_HOST} ^www.mydomain.com/$
RewriteRule ^(.*)$ http://www.mydomain.com/index.php [L]
aslo tried
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/$ /index.php [L]
Could someone please help, I know it is more to do with .htaccess than silverstripe