Basic web page with links that start/stop processes using Apache(newbie)

This is a discussion on Basic web page with links that start/stop processes using Apache(newbie) within the Linux Web Servers forums, part of the Web Server and Related Forums category; I need to develop a very basic web site for Apache with the list of links (may be represented by ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2005
evolutionx1945@yahoo.com
 
Posts: n/a
Default Basic web page with links that start/stop processes using Apache(newbie)

I need to develop a very basic web site for Apache with the list of
links (may be represented by the buttons). Each one of those links
execute a script on the host machine (linux 2.4.20 running apache 1.3).
I had never done any apache/web related work. Can anybody give me
hints/code snippets etc? Thank you very much!!!

I need this web page to control shoutcast servers sitting on my
machine. I have two available ports and many radio stations that I
want to relay. I figured I can setup many server instances relaying
different stations but sitting on the same port. This web server
sitting on the second available port can act as a control switch to
turn on *ONE* shoutcast instance at the time. It will allow me to
start the instance of the server configured to listen to the radio
station of my choice and relay it to specified port.

  #2 (permalink)  
Old 01-05-2005
David Efflandt
 
Posts: n/a
Default Re: Basic web page with links that start/stop processes using Apache(newbie)

On 4 Jan 2005, evolutionx1945@yahoo.com <evolutionx1945@yahoo.com> wrote:
> I need to develop a very basic web site for Apache with the list of
> links (may be represented by the buttons). Each one of those links
> execute a script on the host machine (linux 2.4.20 running apache 1.3).
> I had never done any apache/web related work. Can anybody give me
> hints/code snippets etc? Thank you very much!!!
>
> I need this web page to control shoutcast servers sitting on my
> machine. I have two available ports and many radio stations that I
> want to relay. I figured I can setup many server instances relaying
> different stations but sitting on the same port. This web server
> sitting on the second available port can act as a control switch to
> turn on *ONE* shoutcast instance at the time. It will allow me to
> start the instance of the server configured to listen to the radio
> station of my choice and relay it to specified port.


See 'perldoc perlipc' for examples of how to fork and "daemonize" a script
(ie, fork from the CGI and disassociate child from parent), and how to
communicate between processes using anything from ports to fifos (a
filehandle that can be read or written to like a regular file).
 


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0