IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Apache Discussion :

Deux serveurs et URL


Sujet :

Apache

  1. #41
    Membre du Club
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    135
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 135
    Points : 46
    Points
    46
    Par défaut
    J'ai aucun changement, la face-avant ne se charge pas.

  2. #42
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Points : 12 977
    Points
    12 977
    Par défaut
    Bizarre. Le fichier HTML en question se trouve où (serveur Apache ou Labview) ? Est-ce que c'est un nouveau fichier ou un fichier existant que tu as modifié ? Si tu l'as modifié, quelle est la version originale et la dernière version (qui ne marche pas) ?

  3. #43
    Membre du Club
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    135
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 135
    Points : 46
    Points
    46
    Par défaut
    Je vais apporter quelques précisions au niveau de Labview car je pense que tu ne connais pas trop et il y à des fichiers qui peuvent peut-être résoudre mes problèmes. Je crée un programme sous labview, ensuite je le compile c'est à dire je crée un .exe. Pendant cette manipulation j'active le serveur Labview sur le port 81 (http://serveur-l9skch9.home:81/RS.html) et la page html (RS.html) est créée. Le tout (.exe, RS.html, fichier de conf* et un fichier aliases) est crée pendant la compilation dans un dossier. Je place ensuite le contenu de ce dossier sous c:/www/Labview. J'ouvre le .exe et quand je vais sur le serveur de Labview cela fonctionne correctement. Pour le serveur apache cela ne fonctionne pas avec toutes les confs testées.

    Fichier de conf Labview*:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    [Application]
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.paranoid=True
    server.tcp.servic="Poste de travail/VI Serveur"
    server.vi.callsEnabled=True
    server.vi.propertiesEnabled=True
    WebServer.DirectoryIndex="index.htm"
    WebServer.MimeTypes="htm;text/html;gif;image/gif;jpg;image/jpeg;png;image/png;txt;text/plain;html;text/html;jpeg;image/jpeg;css;text/css;llb;application/x-labview-llb;vi;application/x-labview-vi;doc;application/msword;dot;application/msword;bin;application/octet-stream;exe;application/octet-stream;rtf;application/rtf;pdf;application/pdf;ai;application/postscript;eps;application/postscript;ps;application/postscript;csh;application/x-csh;gtar;application/x-gtar;gz;application/x-gz;sh;application/x-sh;tar;application/x-tar;zip;application/zip;hqx;application/mac-binhex40;ua;audio/basic;wav;audio/wav;tif;image/tiff;tiff;image/tiff;xbm;image/x-xbitmap;rtx;text/richtext;qt;video/quicktime;mov;video/quicktime;avi;video/x-msvideo;movie;video/x-sgi-movie;aif;audio/aif;aifc;audio/aif;aiff;audio/aif;aim;application/x-aim;dif;video/x-dv;div;video/x-dv;js;application/x-javascript;pntg;image/x-macpaint;xlb;application/vnd.ms-excel;xls;application/vnd.ms-excel;ppa;application/vnd.ms-powerpoint;ppt;application/vnd.ms-powerpoint;pps;application/vnd.ms-powerpoint;pot;application/vnd.ms-powerpoint;pwz;application/vnd.ms-powerpoint;mid;audio/mid;midi;audio/mid;enc;video/mpeg;m1v;video/mpeg;mp2;video/mpeg;mpa;video/mpeg;mpe;video/mpeg;mpeg;video/mpeg;mpg;video/mpeg;psd;image/x-photoshop;bmp;image/bmp;pic;image/pic;ra;audio/vnd.rn-realaudio;rf;image/vnd.rf-realflash;rm;application/vnd.rn-realmedia;rp;image/vnd.rn-realpix;ram;audio/x-pn-realaudio;rmm;audio/x-pn-realaudio;rnx;application/vnd.rn-realplayer;rt;text/vnd.rn-realtext;rv;video/vnd.rn-realvideo;smi;application/smil;ssm;application/streamingmedia;sithqx;application/mac-binhex40;sit;application/x-stuffit"
    WebServer.Port=81
    WebServer.RootPath=C:\www\Labview\data
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    WebServer.Enabled=True
    DebugServerEnabled=False
    DebugServerWaitOnLaunch=False
    Pour répondre à tes questions le fichier html se trouve sous c:/www/Labview, c'est un nouveau fichier le fichier original est le suivant et il ni ya aucun fichier qui à fonctionner avec le serveur apache.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN">
    <HTML>
    <HEAD>
    <TITLE>Contrôle à distance du VI Labview</TITLE>
    </HEAD>
    <BODY >
    <H1>Contrôle à distance du VI Labview</H1>
    <P>
    <TABLE BORDER = 1 BORDERCOLOR = #000000><TR><TD>
    <SCRIPT language="JavaScript"><!--
    var lng;
    if (navigator.userLanguage) { lng = navigator.userLanguage; };
    if (navigator.language) { lng = navigator.language.toLowerCase(); };
     
    var obj = '<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD" WIDTH=384 HEIGHT=525 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/8.0';
    if (lng.indexOf("fr") != -1) { obj = obj + '/French'; }
    else if (lng.indexOf("de") != -1) { obj = obj + '/German'; }
    else if (lng.indexOf("ja") != -1) { obj = obj + '/Japanese'; }
    obj = obj + '/LVRunTimeEng.exe">';
     
    document.write(obj);
    // --></SCRIPT>
    <PARAM name="LVFPPVINAME" value="RS.vi">
    <PARAM name="REQCTRL" value=true>
    <EMBED SRC=".LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi" REQCTRL=true TYPE="application/x-labviewrpvi80" WIDTH=384 HEIGHT=525  PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagent&code=exck2m&"></EMBED>
    </OBJECT>
    </TD></TR></TABLE>
    <P>
     
    </BODY>
    </HTML>

  4. #44
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Points : 12 977
    Points
    12 977
    Par défaut
    Le fichier RS.html contient quoi ? En gros, quelle est la différence entre RS.html et ce nouveau fichier HTML ?

    Il sert à quoi le paramètre server.tcp.paranoid ?

  5. #45
    Membre du Club
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    135
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 135
    Points : 46
    Points
    46
    Par défaut
    Le fichier RS.html est le suivant:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN">
    <HTML>
    <HEAD>
    <TITLE>Contrôle à distance du VI Labview</TITLE>
    </HEAD>
    <BODY >
    <H1>Contrôle à distance du VI Labview</H1>
    <P>
    <TABLE BORDER = 1 BORDERCOLOR = #000000><TR><TD>
    <SCRIPT language="JavaScript"><!--
    var lng;
    if (navigator.userLanguage) { lng = navigator.userLanguage; };
    if (navigator.language) { lng = navigator.language.toLowerCase(); };
     
    var obj = '<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD" WIDTH=384 HEIGHT=525 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/8.0';
    if (lng.indexOf("fr") != -1) { obj = obj + '/French'; }
    else if (lng.indexOf("de") != -1) { obj = obj + '/German'; }
    else if (lng.indexOf("ja") != -1) { obj = obj + '/Japanese'; }
    obj = obj + '/LVRunTimeEng.exe">';
     
    document.write(obj);
    // --></SCRIPT>
    <PARAM name="LVFPPVINAME" value="RS.vi">
    <PARAM name="REQCTRL" value=true>
    <EMBED SRC=".LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi" REQCTRL=true TYPE="application/x-labviewrpvi80" WIDTH=384 HEIGHT=525  PLUGINSPAGE="http://digital.ni.com/express.nsf/express?openagent&code=exck2m&"></EMBED>
    </OBJECT>
    </TD></TR></TABLE>
    <P>
     
    </BODY>
    </HTML>

    La différence du fichier html ce situe à ce niveau.

    Fichier html:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <PARAM name="LVFPPVINAME" value="RS.vi">
    <PARAM name="REQCTRL" value=true>
    <EMBED SRC=".LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi"
    Fichier html modifié:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <PARAM name="LVFPPVINAME" value="RS.vi">
    <PARAM name="server" value=http://serveur-l9skch9.home:81>
    <EMBED SRC="http://serveur-l9skch9.home:81/.LV_FrontPanelProtocol.rpvi80" LVFPPVINAME="RS.vi"

    Je ne c'est pas à quoi sert le paramètre server.tcp.paranoid, le fichier est généré par Labview et j'ai modifié uniquement les lignes qui sont mentionnées dans le tuto (http://digital.ni.com/public.nsf/all...25710E000068E1). Je vais me renseigner auprès du service technique Labview et je te tiens au courant dans le début de semaine.

  6. #46
    Membre du Club
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    135
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 135
    Points : 46
    Points
    46
    Par défaut
    Salut,

    J'ai eu la réponse de Labview, il me renvoi sur un de leur lien, le paramètre server.tcp.paranoid sert :
    This line refers to the VI Server TCP access setting for strict checking of hostnames.

    In the below paragraph a server.tcp.paranoid setting of:
    * TRUE = Checked
    * FALSE = Unchecked

  7. #47
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Points : 12 977
    Points
    12 977
    Par défaut
    Donc a priori ce n'est pas le paranoid qui pose problème. Je n'ai aucune idée pourquoi ça ne fonctionne pas, désolé

  8. #48
    Membre du Club
    Profil pro
    Étudiant
    Inscrit en
    Avril 2009
    Messages
    135
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Avril 2009
    Messages : 135
    Points : 46
    Points
    46
    Par défaut
    Okay.
    Merci quand même.
    Si jamais je trouve, je te tiendrais au courant.

Discussions similaires

  1. Pont SSH entre deux serveurs !
    Par julienOriano dans le forum Réseau
    Réponses: 12
    Dernier message: 29/04/2006, 00h19
  2. Faire discuter deux serveurs SQL ?
    Par Araldite dans le forum MS SQL Server
    Réponses: 14
    Dernier message: 27/04/2006, 14h47
  3. Pb entre deux serveurs
    Par mic79 dans le forum Général JavaScript
    Réponses: 1
    Dernier message: 14/03/2006, 12h01
  4. [ASE] accès à deux serveurs?
    Par ced61 dans le forum Sybase
    Réponses: 7
    Dernier message: 18/10/2005, 10h51
  5. installation de deux serveurs sur une même machine
    Par desdak dans le forum Installation
    Réponses: 1
    Dernier message: 29/06/2005, 23h09

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo