Re: Script CGI with shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tks, Dedeco this tutorial work fine.
Tks, all!

Em ter, 4 de set de 2018 às 16:15, Dedeco Balaco <dedeco.balaco@xxxxxxxxx.invalid> escreveu:
Try this:

http://www.yolinux.com/TUTORIALS/BashShellCgi.html

Tell us if those examples work for you.


Em 04-09-2018 16:04, Rodrigo Cunha escreveu:
> Hello, i have a question, i try start a shell(bash) script in my apache2
> and not work, i seting bellow diretive in my vhost but not work:
> <Directory "/opt/dev/www/www.tmp.oduvaldocozzi.intranet/public_html/dir">
>     Options +ExecCGI
>         AddHandler cgi-script .cgi .pl
> </Directory>
>
> root@HTTPS:dir #ls -l
> /opt/dev/www/www.tmp.oduvaldocozzi.intranet/public_html/dir/
> total 12
>
> -rwxr-xr-x 1 webmaster dev 31 Set  4 15:48 x.sh
>
> But the bash script notwork, only display the file content:
> #!/bin/bash
> echo "Hello world"
>
>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



--
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux