Hello Edgard

Seems I sent an incomplete message.

I did this project for you:
https://github.com/kikitux/precise64-cgi-bin

check the provision.sh and the cgi-bin folder

you can visit: http://localhost:8080/cgi-bin/poweroff.sh

And that will poweroff the machine.

Let me know if that is what you are after.

If you got questions, just le me know, happy to help.

Alvaro.

On Sun, Jan 17, 2016 at 4:22 PM, Alvaro Miranda Aguilera <[email protected]>
wrote:

> Hello Edgard.
>
> You need to find out where the cgi-bin directory is.
>
> Seems on ubuntu is here:
>
> /usr/lib/cgi-bin/
>
>
> (is on the webpage tutorial)
>
>
> On 17/01/2016, at 1:37 PM, Edgar Oliveira <[email protected]>
> wrote:
>
> Hello Alvaro,
>
> I am always learn with you :)
>
> Thank you for your advice.
> I am studying this examples "
> http://www.yolinux.com/TUTORIALS/BashShellCgi.html";. Because the article
> which share with me yet are advanced for me.
>
> Not yet I explored the site but If you can help me, I will appreciate.
> When I create folder with name "cgi-bin" I received the error 403
> Forbidden. How can I fix that? This erros only happen when I create the
> folder with this name.
>
> Thanks
>
> quarta-feira, 13 de Janeiro de 2016 às 13:52:41 UTC, Edgar Oliveira
> escreveu:
>>
>> Hello,
>>
>> Any idea to create an file for when I accessed through browser it execute
>> the code to shutdown my virtual machine?
>> E.G. I accessed the IP 192.168.1.50, corresponding the VM, and when
>> access the file something.php and inside this file execute the code which
>> the same execute via terminal "sudo shutdown -h 1".
>>
>> Which language do you advice to build this option? The vagrant was any
>> option for this?
>>
>> Thanks
>>
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/bdd48c8e-1a12-4e77-90d0-c4e36b75fe1d%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/bdd48c8e-1a12-4e77-90d0-c4e36b75fe1d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezQHuZZkEGcJZoFkPUGq%3D6Do_C%2Be-uW7evgh-aJWTq-Zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to