I've been searching for weeks on how to setup the localhost enviroment on ubuntu without any good solutions.
This is what I want to achieve:
I want to have My root folder as such /home/'username'/Sites/'projectname.pl' or /home/'username'/Sites/pl/'projectname'/public (or simular)
When accessing my localhost i don't wanna have to write localhost/'projectname'/public (or whatnot) I would like to be able to access the project just by typing http://'projectname'.pl
I know this is achievable on the apache server on OSX but I haven't been able to find any guides to achieve this on my Ubuntu-machine.
I would really be grateful of any help, and I really hope it's possible.