I am trying to attempt something that should be pretty easy but I just can't get it working. My experience of Mod_Rewrite is fairly limited. I have the following site structure:
I want the .htaccess file to internally redirect all browser requests to the public folder so (with a lot of help from Google) now have this:
This works fine for e.g. http://myapp.com/index.html?hello=world and the query string is preserved however for http://myapp.com or http://myapp.com/ the browser is redirected to http://myapp.com/public/ and I just don't understand why... Any pointers gratefully received... asked 13 Oct '13, 04:51 decoy |
Ok, as per the Web Faction Documentation this seems to now be working by adding:
immediately after:
I'm sure I tried this before but obviously not... answered 13 Oct '13, 06:58 decoy |