Simple HTTP Server on Linux
07-25-2012, 02:06 PM, (This post was last modified: 07-25-2012, 02:25 PM by RichardGv.)
#15
RE: Simple HTTP Server on Linux
(07-25-2012, 07:21 AM)MyDigitalpoint Wrote: Yes, I have an 8GB USB 3.0 flash drive that might serve for the purpose of testing a home-based Linux server and, yes, being over Windows, your information comes handy because I have been struggling with Python, trying to figure out how to run it not just from my computer but also from my hosting space, but I guess is because I'm making a mistake that I would probably could debug having Python installed onto my computer.

If you have any serious needs, lighttpd, nginx, Apache, IIS or even HFS may actually be better choices than this simple Python HTTP server. (It's called "SimpleHTTPServer" for a reason...) It's not particularly worthwhile to set up a Python environment just for a simple HTTP server. It neither uses less resources nor has more features. It simply supports less customizations, is slower, and has no support for dynamically generating content unless you write some Python code. If you have a special favor over Python you may look into its documentation for a more sophisticated server setup -- at the cost of some code to write.

If you have a VPS then you might be able to set up Python on it yourself, and it could slightly (very slightly...) easier than setting up a productive web server. If it's a shared hosting... Well, then why would you need a Python HTTP server when you already have one?
Gentoo Linux User (w/ fvwm) / Loyal Firefox User / Owner of a Stupid Old Computer - My PGP Public Key

No man is an island, entire of itself; every man is a piece of the continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friends or of thine own were; any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee.
-- Devotions Upon Emergent Occasions (1624), John Donn
Reply


Messages In This Thread
Simple HTTP Server on Linux - by Serial Thrilla - 05-30-2011, 01:01 AM
RE: Simple HTTP Server on Linux - by meds - 05-31-2011, 02:55 AM
RE: Simple HTTP Server on Linux - by lxw2005 - 06-11-2011, 04:30 AM
RE: Simple HTTP Server on Linux - by rowebil - 01-30-2012, 12:14 PM
RE: Simple HTTP Server on Linux - by RichardGv - 07-24-2012, 10:03 PM
RE: Simple HTTP Server on Linux - by RichardGv - 07-25-2012, 02:06 PM
RE: Simple HTTP Server on Linux - by RichardGv - 07-27-2012, 11:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [MyBB] Simple Group Legend v2 Serial Thrilla 3 3,736 01-21-2012, 02:18 AM
Last Post: Serial Thrilla
  Create a fully working Counter Strike server with HLDS Serial Thrilla 0 1,096 05-30-2011, 01:03 AM
Last Post: Serial Thrilla
  Counter-Strike Dedicated Server on Debian Squeeze Serial Thrilla 0 1,558 05-30-2011, 01:02 AM
Last Post: Serial Thrilla

Forum Jump: