Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 90516  / 3 Years ago, mon, september 13, 2021, 5:21:19

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.



Regards!


More From » apache2

 Answers
0

I solved this by following this guide.
A really neat solution which enables you to create a folder in your specified "Sites"-folder and then access it without having to add a sites-available for every new site.



THE guide ->
http://css.dzone.com/articles/drop-folder-directory-and-have


[#28022] Tuesday, September 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anoalk

Total Points: 271
Total Questions: 90
Total Answers: 112

Location: Zambia
Member since Wed, Dec 16, 2020
3 Years ago
anoalk questions
Wed, Mar 15, 23, 04:06, 1 Year ago
Fri, Sep 24, 21, 02:59, 3 Years ago
Sat, Mar 5, 22, 02:33, 2 Years ago
Tue, Mar 22, 22, 07:19, 2 Years ago
;