How do I create a public_html structure on apache localhost?

250 Views Asked by At

I want it such that when I type "localhost/websiteName/" on my local machine I would be served "localhost/websiteName/public_html/".

Is this possible ? Or am I missing something here ?

I also want to make everything outside public_html inaccessible.

0

There are 0 best solutions below