I have a expression in apache:
RewriteEngine On
RewriteRule ^(.*)$ 2012/$1 [L]
My application is at ‘2012’ folder.
I want when someone type http://www.mysite.com redirect to http://www.mysite.com/2012
But the URL must continue http://www.mysite.com
This is done with my current regex .
But i can’t access other subdirs to alocate other images, all of these goes to http://www.mysite.com/2012/newsletter for example.
How i can get http://www.mysite.com/newsletter working?
This should work: