Hello Developers

For some time there was a discussion going about the use of a 
webconfiguration. 
I now put a version of a modified weblet which includes several 
options to be set by a browser. Download at 
http://leaf.sf.net/devel/ericw/bering/weblet.lrp
Size 44 Kb (  original weblet 25 Kb) 

I am trying to get something like this going for a longer period of time 
and due to changing concepts, lack of knowledge and the problem of 
intermittent working on a concept ( and thus changing it ) it isn't a 
completely  uniform thing. 
The package is still called weblet.lrp and includes the standard 
weblet pages.  in the cgi-bin are all the scripts used by the 
programm. I used uncgi to get the variables back. 
This is the only programm that might have to be recompiled for 
uClibc forexample.
Attention this programm is for further development. ( I thought it was 
the right time to share efforts :) )
It is NOT A PRODUCTION version. 
Dangers:
- Still running as root  ( change the user for sh-httpd ro root )
- Still using get  
- leaving temporary scripts in /tmp  ( easy to fix)

Problems
- Build in the same kind as the original scripts so to change for 
example the hostname you have to change multiple files. ( an idea to 
change this exist but the time fails ) 
- Some pages have a relative bad layout.


specialities
-Use of a kind of session management. Actually useing the 
connecting computer IP and a random string.( necessary to prevent 
page reloading) 
- highly modular. this proved to be a great advantage. Changes to all 
sites are much easier to realise.
- The option to use the webpage or directly edit the config file.
- The use of predefined pages to edit to prevent directory walking. 
----------------------------------------
Questions  

Anyone willing to contribute. ?

What about a webconfiguration like this. ?

What is missing ? 
What should be omitted.  ( don't say the whole package please ;) )

Any comments are very welcome.
------------------------
I know the security problems of webconfigs like these, I don't use it 
myself ( prefer ssh or direct serial connections ;) ) 
I see this project more as the proof of the statement that is is 
possible. 
Secondary I learned a  lot about shell programming, allthough my 
style must be a horror for some of you professionals ;) 

Sorry for the long post

Regards 
Eric Wolzak
member of the Bering Crew


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to