![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2004
Posts: 5
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
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.
__________________
|
|
|
|
|
|
#3 |
|
Expert Programmer
|
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 |
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4
![]() |
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.
|
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#6 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Well I don't know, I wouldn't deem a simple webserver as a hard thing. Python source:
import SimpleHTTPServer SimpleHTTPServer.test() You could modify apache for whatever if you had countless weeks to waste on doing so. |
|
|
|
|
|
#7 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4
![]() |
Every day, I become a little more astonished at how much Python rocks.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|