Bonjour,
Depuis 2 jours j'essaye d'executer un script python pour traiter une requette HTTP/POST.
A chaque fois, le serveur Web (could web 1) me retourne le contenu de la page et n'execute pas le code python. (voir resultat de curl ci-dessous).
Comment faire pour que python soit le moteur d'execution des pages d'un sous domaine ?
Merci.
>
\* Trying 188.165.XX.XX...
\* Connected to boond.mondomain.org (188.165.XX.XX) port 80 (#0)
\> POST /get-candidate.py HTTP/1.1
\> Host: boond.alteam.org
\> User-Agent: curl/7.43.0
\> Accept: */*
\> Content-Length: 101
\> Content-Type: application/x-www-form-urlencoded
\>
\* upload completely sent off: 101 out of 101 bytes
\< HTTP/1.1 200 OK
\< Date: Wed, 28 Aug 2019 09:50:14 GMT
\< Content-Type: application/octet-stream
\< Content-Length: 613
\< Set-Cookie: SERVERID33516=2414995; path=/; max-age=900
\< Server: nginx
\< Last-Modified: Wed, 28 Aug 2019 09:35:30 GMT
\< ETag: "265-5912a1c245930"
\< Accept-Ranges: bytes
\< X-IPLB-Instance: 17255
\<
\#!/usr/bin/python
\# -*- coding: UTF-8 -*-
\
'''
Created on 27 aout 2019
suite du code python
CloudWeb 1 : script Python
Related questions
- Modification des variables php.ini
45883
23.01.2019 16:32
- Lancement App front React
35219
26.04.2019 12:54
- FTP and SFTP time out
33607
14.01.2018 08:55
- Accès à la configuration du serveur apache ?
30975
23.10.2017 12:25
- Connexion SSH ?
28044
14.10.2017 09:53
- Transferts FTP/SFTP
25127
21.10.2017 13:00
- Activer Memcached PECL
24574
17.12.2018 13:07
- Retours sur Cloud Web
23459
10.10.2017 15:02
- 504 Gateway Timeout depuis bientôt 24h
22629
24.04.2019 11:19
- Drupal 8 - Composer - lack of memory
21411
19.10.2017 19:33