OVH Cloud OVH Cloud

cgi sans http

7 réponses
Avatar
Bernard Philip
bonjour les specialistes,
peut-on declencher un programme en local (dans le meme ordi)
avec un pti html du genre
<form action=toto.bat.>
<input submit ..>
</form>
sans IIS et autres ?
(pour un pti test de Form)
merci d'avance

7 réponses

Avatar
Bruno.L
loufoque wrote:
bp a dit le 14/06/2005 à 09:59:

il me propose de telecharger index.php, au lieu de l'afficher
directement ?




Tu as mal installé PHP alors.




apache, plutot, non?

trouves dans httpd.conf la ligne comprenant 'DirectoryIndes index.html'
et ajoutes y index.php, ca devrait marcher


--
Bruno <http://bluesilk.be>
Avatar
Bruno.L
Bruno.L a fait une grossière erreur dans son post:

apache, plutot, non?




au temps pour moi, Loufoque a raison,,,

--
Bruno <http://bluesilk.be>
Avatar
Will
Le 06/14/2005 01:28 PM (à peu de choses près), Bruno.L a intelligemment dit...
trouves dans httpd.conf la ligne comprenant 'DirectoryIndes index.html'
et ajoutes y index.php, ca devrait marcher



ce serait pas plutot un problème de mimetype ? genre ajouter au httpd.conf
AddType application/x-httpd-php .php

mais bon, normalement un easyphp de base a ça. y a comme qui dirait un petit
problème :)

--
Will
Avatar
bp
On Sun, 12 Jun 2005 19:44:00 +0200, royal wrote:



Tu auras du mal a installer IIS sur Free.fr ...


ok, je teste avec Apache de Easyphp,
Free devrait être compatible ?
merci
Avatar
bp
On Tue, 14 Jun 2005 11:00:01 +0000 (UTC), Laurent Wacrenier <lwa@
teaser . fr> wrote:

Bernard Philip écrit:
bonjour les specialistes,
peut-on declencher un programme en local (dans le meme ordi)
avec un pti html du genre




% man lynx
(...)
SIMULATED CGI SUPPORT
If built with the cgi-links option enabled, Lynx allows access to a cgi
script directly without the need for an http daemon.


oui, c bien ma question, cher Laurent,
mais ça marche sur Windows, ton truc ?
merci d'avance
Avatar
drkm
bp writes:

On Tue, 14 Jun 2005 11:00:01 +0000 (UTC), Laurent Wacrenier <lwa@
teaser . fr> wrote:

% man lynx



mais ça marche sur Windows, ton truc ?



Oui. Au moins sur Cygwin.

~> uname -a
CYGWIN_ME-4.90 peeters 1.5.17(0.129/4/2) 2005-05-25 19:38
i686 unknown unknown Cygwin

~> lynx --version
Lynx Version 2.8.4rel.1 (17 Jul 2001)
libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b
Built on cygwin Aug 11 2003 22:59:49

Copyrights held by the University of Kansas, CERN, and other contributors.
Distributed under the GNU General Public License.
See http://lynx.browser.org/ and the online help for more information.

See http://www.moxienet.com/lynx/ for information about SSL for Lynx.
See http://www.openssl.org/ for information about OpenSSL.

--drkm
Avatar
Laurent Wacrenier
bp écrit:
SIMULATED CGI SUPPORT
If built with the cgi-links option enabled, Lynx allows access to a cgi
script directly without the need for an http daemon.


oui, c bien ma question, cher Laurent,
mais ça marche sur Windows, ton truc ?



S'il est compilé avec la bonne option, sûrement.