Vous n'êtes pas identifié(e).
Pages : 1
Bonjour
Est il possible d'utiliser GCWeb avec un port Http non Standard (p.ex. port 85).
J'ai essayé, mais la mise en page est totalement chaotique, probablement car les styles css ne se chargent pas (pointent toujours vers le port Http Standad , 80)
Vu que je sui nul en php, j'ai abandoné l'idée de bidouiller dans les fichier php.
Merci pour votre aide
Meilleures Salutations
Bonjour
L'url de page aurait la forme
http://domaine.tdl:85/gcweb c'est ça ?
Si oui je pense que tu peux le faire sans grandes modification, ouvre index.php et replace
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on')
define('URLRACINE_GCWEB','https://'.$_SERVER['SERVER_NAME'].substr($_SERVER['REQUEST_URI'],0,strrpos($_SERVER['REQUEST_URI'],'/')));
else
define('URLRACINE_GCWEB','http://'.$_SERVER['SERVER_NAME'].substr($_SERVER['REQUEST_URI'],0,strrpos($_SERVER['REQUEST_URI'],'/')));
par
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on')
define('URLRACINE_GCWEB','https://'.$_SERVER['SERVER_NAME'].':85'.substr($_SERVER['REQUEST_URI'],0,strrpos($_SERVER['REQUEST_URI'],'/')));
else
define('URLRACINE_GCWEB','http://'.$_SERVER['SERVER_NAME'].':85'.substr($_SERVER['REQUEST_URI'],0,strrpos($_SERVER['REQUEST_URI'],'/')));
Si j'ai pensé à tout ça devrait fonctionner !
Hors ligne
Pages : 1