I have a root folder htaccess containing my htaccess file and another folder,me containing my index.php file ..I want to use url rewrite such that when I access http://localhost/htaccess/me/index.php , it transforms the url to http://fakeserver/htaccess/me/index.php..
Drupal does such a thing..
I want to do this transformation such that the fakeserver is not a real server just that I rewrite the localhost to fakeserver
Create a new site configuration at
/etc/apache2/sites-available/fakeserver(Note you will need to create file
fakeserver)Inside that, add this:
Enable it, from your terminal
Restart apache to reflect changes