Results 1 to 1 of 1

Thread: Bash CGI

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Mar:2006
    Location: dimitrovgrad
    Posts: 135

    Bash CGI

    , bash, web bash browser-a. , cgi. - , , :

    Code:
    <form action="localhost/cgi-bin/monitoring.sh" method="get">
              <input type="submit" name="submit" value="Get Data">
    </form>
    , html.

    cgi apache-to . Debian 6

    - . :
    1. home ( )
    2. cgi-bin home folder
    3. /etc/apache2/sites-available/default ( , ) :
    Code:
    ScriptAlias /cgi-bin/ /home/skolew/web/cgi-bin/
    <Directory /home/skolew/web/cgi-bin/>
    Options ExecCGI
    AddHandler cgi-script cgi pl sh
    </Directory>
    "/home/skolew/web" web server-a.
    , , .
    Last edited by svetlio^^; 12th August 2012 at 01:23. Reason:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |