I started working on my final project. As my plan is to build a website, where users can log several parameters of their health, I have been trying to take the framework from pset7.
Because I want my work to be accessible from my mac OS. I basically copied the whole pset7 directory to a new folder in ~/vhosts/localhost/ called project.
Now I know that to make pset7 work, there was this line 127.0.0.1 pset7 that you had to add to /etc/hosts.
How can I make this "reroute" work for my final project? My problem is, that if I use the function
redirect("/");
In pset7, this would have redirected to pset7/public/, but in my project this redirects to
Appliance-IP-adress/ - where it should be:
Appliance-IP-adress/project/public
I'm getting lost here with the server configurations :(