On Deployment -- Why does Direct Connect work and Apache doesn't?
On Deployment -- Why does Direct Connect work and Apache doesn't?
- Subject: On Deployment -- Why does Direct Connect work and Apache doesn't?
- From: James Cicenia <email@hidden>
- Date: Mon, 15 Dec 2008 15:28:16 -0600
Hello -
If I curl my application from the server it is running to direct
connect I get this:
curl -v curl http://127.0.0.1:2001
* getaddrinfo(3) failed for curl:80
* Couldn't resolve host 'curl'
* Closing connection #0
curl: (6) Couldn't resolve host 'curl'
* About to connect() to 127.0.0.1 port 2001
* Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 2001
> GET / HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5
OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: 127.0.0.1:2001
> Accept: */*
>
< HTTP/1.1 302 Apple WebObjects
< cache-control: private
< cache-control: no-cache
< cache-control: no-store
< cache-control: must-revalidate
< cache-control: max-age=0
< expires: Mon, 15-Dec-2008 21:02:14 GMT
< location: http://127.0.0.1/cgi-bin/WebObjects/hb-admin.woa/wa/GotCookies?go=DirectAction&wosid=mNdQCsnipCYcKFD9xFX97w
< pragma: no-cache
< date: Mon, 15-Dec-2008 21:02:14 GMT
< x-webobjects-loadaverage: 1
< content-type: text/html
< set-cookie: wosid=mNdQCsnipCYcKFD9xFX97w; path=/;
< set-cookie: woinst=-1; path=/;
< content-length: 0
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
If however I connect any other way, ie non-direct conect I get this:
curl -v http://x.x.x.x/cgi-bin/WebObjects/hb-admin
* About to connect() to x.x.x.x port 80
* Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 80
> GET /cgi-bin/WebObjects/hb-admin HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5
OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: x.x.x.x
> Accept: */*
Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden