hey
in my root directory that is only folders.
these days in my DirectoryIndex setting is
DirectoryIndex /newsite2006/index.php
this directory contains all the files i need and the user doesn't know that he surf on a subfolder
(for example if the user access to http://example.com/images/1234.jpg he actually goes to http://example.com/newsite2006/images/1234.jpg)
so far so good but, i built a new version of my site and it's located on /newsite2010/
i'm tring to make my server behave like that;
if you go to the root --> you'll see newsite2010/index.php
if you go to some other subdirectory --> if the directory doesn't exist on newsite2010/*somedirectory*/
check the newsite2006 directory
for example
http://example.com --> http://example.com/newsite2010/index.php
http://example.com/images/1234.jpg --> http://example.com/newsite2010/images/1234.jpg
http://example.com/images/blabla.jpg --> http://example.com/newsite2010/images/blabla.jpg (not found)-->
http://example.com/newsite2006/images/blabla.jpg
I hope I explained myself correctly
[edited by: jdMorgan at 2:58 pm (utc) on Apr 6, 2010]
[edit reason] Please use example.com only. [/edit]