Results 1 to 1 of 1
Thread: Bash CGI
Hybrid View
-
11th August 2012 21:22 #1Registered User
Join Date: Mar:2006
Location: dimitrovgrad
Posts: 135
Bash CGI
, bash, web bash browser-a. , cgi. - , , :
, html.Code:<form action="localhost/cgi-bin/monitoring.sh" method="get"> <input type="submit" name="submit" value="Get Data"> </form>
cgi apache-to . Debian 6
- . :
1. home ( )
2. cgi-bin home folder
3. /etc/apache2/sites-available/default ( , ) :
"/home/skolew/web" web server-a.Code:ScriptAlias /cgi-bin/ /home/skolew/web/cgi-bin/ <Directory /home/skolew/web/cgi-bin/> Options ExecCGI AddHandler cgi-script cgi pl sh </Directory>
, , .Last edited by svetlio^^; 12th August 2012 at 01:23. Reason:




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in