Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1602 connectés 

  FORUM HardWare.fr
  Programmation
  C

  Création d'un cgi-bin exécutable sous linux

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Création d'un cgi-bin exécutable sous linux

n°1265956
XK
Posté le 13-12-2005 à 21:58:58  profilanswer
 

Bonjour
 
J'aimerais créer un cgi-bin qui serait exécuté par Apache sous Linux.
Pour développer sous Windows j'ai l'habitude de DevC++.
J'aimerais savoir comment je peux compiller des cgi-bin pour Linux? :??:
 
Merci :hello:

mood
Publicité
Posté le 13-12-2005 à 21:58:58  profilanswer
 

n°1265988
manatane
En vous remerciant, bonsoir
Posté le 13-12-2005 à 22:43:34  profilanswer
 

gcc -Wall -o ton_executable.cgi ton_source.c

n°1266070
Sve@r
Posté le 14-12-2005 à 01:23:24  profilanswer
 

manatane a écrit :

gcc -Wall -o ton_executable.cgi ton_source.c


Et tu mets ton pgm dans le répertoire "cgi-bin" de ton serveur Apache (généralement "/var/httpd/cgi-bin" )

n°1266072
masklinn
í dag viðrar vel til loftárása
Posté le 14-12-2005 à 01:41:41  profilanswer
 

Sve@r a écrit :

Et tu mets ton pgm dans le répertoire "cgi-bin" de ton serveur Apache (généralement "/var/httpd/cgi-bin" )


ou alors tu configures ton apache pour que ton programme soit vu comme du CGI, le répertoire cgi-bin say le mal :o
 
(et chez moi, c'est /var/www )


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°1267668
XK
Posté le 15-12-2005 à 16:37:43  profilanswer
 

tout marche impécable dans le répertoire cgi-bin ;)
 
merci :hello:

n°1267680
Sve@r
Posté le 15-12-2005 à 16:42:28  profilanswer
 

XK a écrit :

tout marche impécable dans le répertoire cgi-bin ;)
 
merci :hello:


 
[:un flip par boobax]


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C

  Création d'un cgi-bin exécutable sous linux

 

Sujets relatifs
[C et Linux]: Prog port serie[Delphi / Exception] création de type d'exception particulier
Mysql sous linuxproblème avec les sockets pour passer de windows a linux
Equivalent de PHP Edit (0.8) sous Linux ?[c,allegro] création d'un plateau de jeu avec allegro
Programmer un driver sous linuxCréation d'une petite application en tray
Problème pour création de fonctionCompilation module linux
Plus de sujets relatifs à : Création d'un cgi-bin exécutable sous linux


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)