This is the case:
You can request a demo for a specific product online. That's what we will do:
We will create a subdomain on our server and clone + install the code of our online product. A cron runs every day and when your subdomain exists 14 days we want to place an index.html in the subdomain with some info on it.
Now the problem is that the index.html doesn't do anything. In our .htaccess we have the following:
Options -Indexes
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php
As you can see we have a RewriteRule to index.php otherways the code doesn't work. How can I make sure that the index.html is loaded.
Also another problem is that when you're logged in you're automatically go to /admin, so if there's no admin folder he will give an error.
How can I make this work?