How to display contents from www directory for http://www.website.com
i..e when a user visits http://www.website.com i want to display the contents from /www directory but keep the url same.
I have tried few methods, but for all of them the url changes as well….
Though i want to load the content from http://www.website.com/www/ i want to keep the url as http://www.website.com/
And same for other pages., i..e http://www.website.com/products.php : /www/products.php
If you are running apache, you can change the root folder in the httpd.conf file (UserDir)
http://httpd.apache.org/docs/2.0/mod/mod_userdir.html#userdir
So you would have to do something like: