Announcement

Collapse
No announcement yet.

Problems with submit to web

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems with submit to web

    Guys.. Im banging my head against the wall here

    Im trying to setup a php script and an AMS action to send a DB query to a php page that should return all the info needed to fill some AMS vars.

    The php page is working on GET and it return the appropiate format for AMS to get the vars:

    <ReturnedData>
    <Variable>
    <Name>%VarName1%</Name>
    <Value>Value1</Value>
    </Variable>
    <Variable>
    <Name>%VarName2%</Name>
    <Value>Value2</Value>
    </Variable>
    </ReturnedData>

    No HTML tags or anything so the browser doesnt show anything in there but when you do a "show page source" it all shows ok.

    The problem I have is that when the application is trying to do the submittoweb action... I get and error saying:

    Error: Could not submit to web.
    Error code returned by server.
    http://hosting.intruder.com.mx/inter.net.php

    and the web server logs show only the head request:

    200.39.209.146 - - [19/Mar/2003:08:38:36 -0600] "HEAD /inter.net.php HTTP/1.0" 200 0 "-" "-"

    but they never show the POST OR GET or anything.

    What am I doing wrong?

    Thanks for your help!!!

  • #2
    Re: Problems with submit to web

    I know whats wrong!!!

    I did some searches and I found that in my webserver, I have many virtual domains configured to the same IP right? well.. seems AMS is actually converting the http://domain.com blah! to the IP and then it does the submit to the submit request is going by IP thus going to the first configured web site on the server.. not by http://domain.com so the submit is going to the wrong domain!

    Is this a bug or can it be fixed? it should do the submit by name and not resolve the ip... right?

    Thanks for the help.

    Comment


    • #3
      Re: Problems with submit to web

      Don't think it's a bug necessarily...but I hope this can be part of an upgrade in the near future....especially because there are so many (besides being cheaper....) virtual addresses out there and possible AMS projects that can take advantage of the database capability.

      Comment

      Working...
      X