let's say that i have the following directory structure
site
lib
versions
/1.0
/application
/library
/public
and my site root is mydomain.com
i would like all request to mydomain.com to be redirected to mydomain.com/versions/1.0/public , whilst keeping the request url to mydomain.com
my server is on Dreamhost and with them i simply point my site root to the public folder, but my current client's host doesn't offer this facility. what would be the best way to achieve this?
also , since i'm using ZendFramework , the public folder contains a .htaccess file with the following rules i wish to avoid conflicting with.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
thanks for your help!