Xampp habilitar pasta CGI-BIN

mod_harbour es un módulo para Apache que permite correr tus PRGs directamente en la web!!!

Xampp habilitar pasta CGI-BIN

Postby Itamar M. Lins Jr. » Mon Mar 07, 2022 5:18 pm

Hola !
¿ Cómo habilitar apache en xampp para ejecutar cgi desde Mod_Harbour ?

Saludos,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
 
Posts: 3
Joined: Sat Mar 05, 2022 11:05 pm

Re: Xampp habilitar pasta CGI-BIN

Postby Itamar M. Lins Jr. » Mon Mar 07, 2022 5:42 pm

Hola!
Resolvido! Editei o httpd.conf e fiz essas modificações.
Code: Select all  Expand view  RUN

<Directory "${SRVROOT}/cgi-bin">
    AllowOverride None
    Options +ExecCGI
    AddHandler cgi-script .prg .hrb
    Require all granted
</Directory>
 


E no HTML coloquei: ->
Code: Select all  Expand view  RUN
formaction="../cgi-bin/modulo.prg"


Saludos,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
 
Posts: 3
Joined: Sat Mar 05, 2022 11:05 pm


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 3 guests