Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 01-18-2007, 02:18 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Web Application (MMI) - how to???

I have to create a web application to remotely configure a file and at the end reboot the related system on a remote machine..
the problem is, even if I'm not worried about learning something completely new for me (i've never done anything like that before) I'm currently finding difficulties in getting material from the net. The fact is that (as sometimes happen) I can't find a phrase to google!
So I thought you could help me!!

What I have to do is:
a web server (apache?) is running on computer A, where the service to be configured is -> I suppose here I don't have to do anything since web servers like apache are already there, right?
a web application on computer B (I mean, not to go "on internet", the network is only between computer A and B!!) with buttons and comboboxes and so on, where to "visually" decide what to change in the configuration of the service. Here a final button is the APPLY button, and when pressed everything flows from B to A to make the needed modifications to the service. Of course this is what I have to do but my questions are:
a)what should I google for?
b)what kind of language should I use? (any visual somehting or what?)
c)How the apply methid is accomplished?
d)where does the code to write is? on a html page in computer A, only accessed and modified in B, or what else??

I'm confused!! Since I don't know where to start... would you be so kind to help me please??


Old 01-18-2007, 05:11 AM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Webservers are not always there. Although I have no experience with your 'problem'. I foresee some problems with regards to permissions, but I might be wrong.

I think I would turn it around. Write a dedicated webserver listening on a specific port; this will be the application. When a browser connects, the server will send the page with the buttons etc to the browser. When you submit the page to the application, the application will update the service configuration and restart the service or reboot the machine.

With regards to the reboot? Is it necessary to reboot a whole machine just to let the changes for one service be effective? In the Linux world it's usually suuficient to restart the service. Uou don't indicate for which OS this is.

I've once found an example on the internet for a dedicated webserver as part of a book. I will try to find it tonight.

PS The given approach is i.e. used by CUPS (which can be configured using port 631).

[edit]Think I found it
Advanced Linux Programming

Last edited by Wim Sturkenboom; 01-18-2007 at 11:37 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Application to grab large files from web addresses farmerjoe Programming 3 10-16-2005 08:49 AM
Pls. Recommend Web Application vinsky2002 Linux - Software 2 01-11-2005 01:53 AM
Developing web application desarrolladores Linux - General 3 06-23-2004 02:34 PM
web server application HTS Programming 1 06-10-2004 09:48 AM
Sending email from Web Application WinniePooh Linux - Networking 1 08-03-2001 10:44 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration