Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 30 Aug 2015, 04:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
minimal webserver in Python?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
oui

Joined: 20 May 2005
Posts: 2508
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Wed 05 Aug 2015, 07:57    Post subject:  minimal webserver in Python?  

a really smart idea:

http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python

Wink

more:

https://docs.python.org/2/howto/webservers.html
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1834
Location: Queensland

PostPosted: Wed 05 Aug 2015, 18:09    Post subject:  

Pup's have a builtin BusyBox httpd server.
Code:
BusyBox v1.19.3 (2011-11-09 07:34:50 WST) multi-call binary.

Usage: httpd [-ifv[v]] [-c CONFFILE] [-p [IP:]PORT] [-u USER[:GRP]] [-r REALM] [-h HOME]
or httpd -d/-e/-m STRING

Listen for incoming HTTP requests

   -i      Inetd mode
   -f      Don't daemonize
   -v[v]      Verbose
   -p [IP:]PORT   Bind to IP:PORT (default *:80)
   -u USER[:GRP]   Set uid/gid after binding to port
   -r REALM   Authentication Realm for Basic Authentication
   -h HOME      Home directory (default .)
   -c FILE      Configuration file (default {/etc,HOME}/httpd.conf)
   -m STRING   MD5 crypt STRING
   -e STRING   HTML encode STRING
   -d STRING   URL decode STRING

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0778s ][ Queries: 11 (0.0221s) ][ GZIP on ]