-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Salut on a galérer pas mal à l'installation de la dernière version 1.13
Après plusieurs essais (on a finit par avoir eu raison des url api qui ne retournaient pas de JSON
Voilà où on en est :
https://conges.conseilcse.fr/
Login : admin
Pass : azerty123456
ERREUR :
"""
Erreur client : Request -> GET /api/authentification HTTP/1.1
User-Agent: GuzzleHttp/6.3.3 curl/7.29.0 PHP/7.3.17
Host: conges.conseilcse.fr
Authorization: Basic YWRtaW46YXplcnR5MTIzNDU2
Content-Type: application/json
Accept: application/json
| Response <- HTTP/1.1 400 Bad Request
Server: nginx
Date: Wed, 28 Apr 2021 14:46:01 GMT
Content-Type: application/json;charset=utf-8
Content-Length: 122
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: cw_id=X4BKymCJdSkcJVrVA3GqAg==; path=/
{"code":400,"status":"fail","message":"Bad Request","data":"Authorization header doesn't comply to authentication method"}
"""
HTACCESS :
RewriteEngine On
RewriteRule ^(/dump/|/backup/|/vendor/libertempo/api/configuration.json$) - [F]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /
RewriteRule ^api(.*)$ /vendor/libertempo/api/Public/index.php [QSA,L]
TEST DES URLS DE DEMO 👍
https://conges.conseilcse.fr/api/
http://conges.conseilcse.fr/api/authentification
https://conges.conseilcse.fr/vendor/libertempo/api/Public/
Il y avait un répertoire api/ avec un index.php vide (0 octets) qu'on a supprimé car il rentrait en conflit avec la règle du htaccess.
As-tu une idée ?