how to set up ubuntu LAMP stack /var/www similar to the xampp htdocs for http://localhost
- by kimsia
In xampp,
all anyone has to do is to place a folder inside htdocs and http://localhost/folder_name
will automatically work.
If i set up a LAMP stack using sudo tasksel in ubuntu,
how do i do it such that if i put a folder inside /var/www the same thing would happen as in localhost/folder_name would work?
update
sorry all, i have chosen to do things in a different way hence this question is no longer relevant to me.
I apologise.
I have awarded upticks to all answers here.
Thanks for the suggestion.