Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 17th, 2004, 12:32 AM   #1
nkanthikiran
Newbie
 
Join Date: Nov 2004
Posts: 5
Rep Power: 0 nkanthikiran is on a distinguished road
Hi ,

I am looking for coding my own light weight webserver.....can any on guide me how is it possible way with best soutions(i have to do a project for web based administration in windows (some thing like WEBMIN in LInux) how can this be achieved)

Regards,
Kanthi.
__________________
Regards,

Kanthi Kiran Narisetti
nkanthikiran is offline   Reply With Quote
Old Nov 17th, 2004, 7:44 AM   #2
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
With C++/C/C#/Java/Python and language that is compilable. Ive even heard that command line PHP can accomplish it. You'll need to look up network sockets in the language of your choice, get to know them and then look up HTTP headers.
__________________

tempest is offline   Reply With Quote
Old Nov 17th, 2004, 4:42 PM   #3
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
You are probably also going to want to look up the HTTP1.0 RFC document, since it contains everything you need to know on HTTP1.0.

HTTP1.1 is today's standard, but if you are looking for lightweight HTTP1.0 is probably all you will really need, since it just removes support for advances features like virtual name hosting and what not.

Good luck, it is not going ot be any easy task.
__________________
Clifford Matthew Roche <geek@cliffordroche.com>
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Apr 1st, 2005, 9:00 AM   #4
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
You might fancy looking into the mini-httpd that comes with Tcl. See www.scriptics.com (I think... actually I'm having paranoid doubts about that URL now; googling for scriptics will get it if I'm wrong) and root around. It's free and open source, and could save you a bit of time.
mackenga is offline   Reply With Quote
Old Apr 1st, 2005, 9:29 AM   #5
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
You could always look at Apache's code (it is, afterall, open source)... then base it off of that. You will definitely need knowledge of sockets, network programming, HTTP, ...
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Apr 7th, 2005, 3:20 PM   #6
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Well I don't know, I wouldn't deem a simple webserver as a hard thing. Python source:
import SimpleHTTPServer
SimpleHTTPServer.test()
That will serve files using the current working directory as the webserver root. If you wanted to get a little more involved you just create a subclass of the HTTP handler class, re-implement do_GET, do_POST, etc, and use that as the handler.
You could modify apache for whatever if you had countless weeks to waste on doing so.
Cerulean is offline   Reply With Quote
Old May 1st, 2005, 5:09 PM   #7
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
Every day, I become a little more astonished at how much Python rocks.
mackenga is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:23 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC