Results 1 to 7 of 7

Thread: WebSnap deployment

  1. #1
    TCrapCodeProducer JackBigMac's Avatar
    Join Date
    May 2002
    Location
    Rotterdam
    Posts
    1,293

    Question WebSnap deployment

    Hoe kan ik m'n WebSnap-applicatie op een webserver (Apache) laten draaien?
    De applicatie werkt prima als ik de Web App Debugger draai,
    maar als ik de exe verplaats naar Apache, werkt het niet!

    Moet je deze applicatie op een bepaalde manier registeren of zo?
    It is in change that we find purpose.

  2. #2
    TDelphiDeveloper Baldo's Avatar
    Join Date
    Apr 2002
    Location
    Hellevoetsluis
    Posts
    498
    Bij mijn weten kun je een webapp debugger executable niet zomaar bij een apache server neerknallen en er vanuit gaan dat het werkt.

    Een webapp debugger applicatie gebruikt de Borland WebApp debugger als "webserver" om jou in de gelegenheid te stellen te debuggen. Apache of welke webserver dan ook hebben geen mogelijkheid tot communicatie met een Borland webapp debugger executable.

    Je zult je applicatie moeten omzetten naar bijvoorbeeld een CGI executable. De Delphi help vertelt precies hoe je dit moet doen (slechts een paar stappen: aanmaken nieuw projects, units die je al gemaakt hebt daaraan toevoegen en da's zo'n beetje alles).

    Suuk6
    Why is it that every time I think I'm holding all the cards, it turns out we're playing chess?
    Download Re-Depend, onmisbaar als je met packages build

  3. #3

    Unhappy

    Ik heb ook een probleem in die richting ...
    Ik heb een CGI executable, en ik test hem locaal bij m`n onamini (of zo) web server.
    Het WERKT !!! :-)

    toen wou ik het op de server op internet zetten ... dat ging natuurlijk goed, en daarna wou ik typte ik het adres in ... het werkt niet !!! :-(

    Hoe kan dit ?

    En hoe moet ik dit oplossen ? (provider een draai om de oren geven of mijzelf ?)

    Groeten Arjan Hiemstra

  4. #4
    Een WebSnap applicatie kun je helaas niet zomaar bij een provider neerzetten. Uit deploy.txt:
    8. WebSnap Application Deployment
    ================================================== =========
    If you created your application as a Web App Debugger
    executable, you will fist have to convert it to an
    ISAPI DLL, CGI executable, or Apache Shared Module. To
    deploy your DLL or EXE to a web server, you will have to
    place your application in a directory that has executable
    rights. With Internet Information Services (IIS) this is
    typically C:\Inetpub\Scripts. For each WebModule in your
    application, you must copy the associated HTML file to the
    same directory as your EXE/DLL. By default, the associated
    HTML file is simply the WebModule unit's name with .html
    as the extension.

    Additionaly, you must register both WebBrokerScript.tlb
    and stdvcl40.dll on the web server. TLB files cannot be
    registerd with the Microsoft regsvr32 program, but must
    be registerd with tregsvr, located in the Delphi bin
    directory. You can copy tregsvr to the web server, and
    register the files with:
    tregsvr WebBrokerScript.tlb
    and
    tregsvr stdvcl40.dll

    Finally, WebSnap applications require the Microsoft Active
    Scripting Engine in order to work. It is included with
    Internet Explorer 5, and is installed by default on Windows
    2000 machines. To download the Scripting Engine, visit:
    http://msdn.microsoft.com/scripting/
    Kortom, als je ook de gewone webmodules kunt gebruiken zou ik dat zeker doen!
    Marcel

  5. #5
    TCrapCodeProducer JackBigMac's Avatar
    Join Date
    May 2002
    Location
    Rotterdam
    Posts
    1,293

    Cool

    Ok, het werkt.
    Ik had alleen de .exe op de webserver neergezet en niet de .html's.

    Bedankt, jongens!!
    It is in change that we find purpose.

  6. #6
    Wie weet not gratis providers waarbij dit wel kan?

  7. #7
    Ik denk niet dat er gratis providers zijn waar je CGI executables kunt plaatsen. Zelfs duur betaalde providers zijn daar erg voorzichtig mee.
    Marcel

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Jullie meningen over Websnap (Marcel?)
    By sjaakfaal in forum WebDelphi
    Replies: 21
    Last Post: 29-Aug-03, 10:19
  2. Websnap test
    By Vinzenzio in forum WebDelphi
    Replies: 1
    Last Post: 06-Jun-03, 12:53
  3. Web Broker of WebSnap ?
    By Gerjanst in forum WebDelphi
    Replies: 5
    Last Post: 27-Feb-03, 00:34
  4. Informatie over Websnap
    By vvdwaal in forum Algemeen
    Replies: 6
    Last Post: 21-Sep-02, 00:15
  5. Replies: 4
    Last Post: 28-Aug-02, 00:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •