1

how to port-forward a directory inside /var/www

view story
linux-howto

http://www.linuxquestions.org – Hi, this is more a webserver question running in ubuntu. i have 3 folders(websites) in /var/www, that i run for internal use. - public - private 1 - private 2 i was tasked to make 1 public folder to be accessed via internet. i have managed to port forward my WAN IP to my internal web server successfully and i can browse these folder with no problems (internal/internet). what are my alternatives to only restrict public folder to be accessed via public internet? can i map an IP address to a specific directory?? so i could just port forward that directory? i really dont know, im just think (HowTos)