LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to make smallest chroot for webserver (https://www.linuxquestions.org/questions/linux-networking-3/how-to-make-smallest-chroot-for-webserver-671366/)

donnied 09-21-2008 08:43 AM

how to make smallest chroot for webserver
 
I didn't know which forum would be best for this question. Ultimately it boils down to networking.

I would like to make a very small chroot to run a very basic Python web server (basic cgi python scripts).
What do I need in there?
How do I direct traffic to it?



(I thought this: http://www.cyberciti.biz/tips/howto-...webserver.html
using lighttpd would be a good start but no success.)

(I also saw that many more libs were being copied than necessary.)

billymayday 09-22-2008 12:47 AM

You don't need to direct traffic to it as such - it's still listening on port 80/443 as per a normal webserver.


All times are GMT -5. The time now is 01:32 PM.