On Wed, Feb 2, 2011 at 8:20 AM, Anthony M. <lists@ruby-forum.com> wrote:
> I changed the port in the VHost to 80 and commented out the SSL stuff
> and restarted apache.
> Apache Access Log -
> 10.10.20.108 - - [02/Feb/2011:10:56:45 -0500] "GET / HTTP/1.1" 200 1711
> "-" "Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101
> Firefox/4.0b8"
> 10.10.20.108 - - [02/Feb/2011:10:56:45 -0500] "GET /AC_OETags.js
> HTTP/1.1" 304 - "http://testabl.cyncsoftware.com/" "Mozilla/5.0 (Windows
> NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8"
> 10.10.20.108 - - [02/Feb/2011:10:56:47 -0500] "POST /rubyamf/gateway
> HTTP/1.1" 200 311 "http://testabl.cyncsoftware.com/sikkim.swf"
> "Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8"
> 10.10.20.108 - - [02/Feb/2011:10:56:47 -0500] "POST /rubyamf/gateway
> HTTP/1.1" 200 311 "http://testabl.cyncsoftware.com/sikkim.swf"
Whoa! Is this a Flex app? I haven't worked with Flex in forever, and that
was with a Java back end. But looking at the above and then what's
being logged in SSL mode, I'm guessing you have to configure the Flex
client to use port 443, because those `POST /rubyamf/gateway` requests
aren't showing up.
> ##Now switching the port to 443 in the VHost and uncommenting out the
> SSL info. I cleared out the logs before doing this so all the
> information in the logs is after the port was changed.
> Apache Error Log -
>
> [Wed Feb 02 11:04:36 2011] [notice] caught SIGTERM, shutting down
> [Wed Feb 02 11:04:41 2011] [notice] Apache/2.2.11 (Ubuntu)
> mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/3.0.2 configured --
> resuming normal operations
> [Wed Feb 02 11:06:02 2011] [error] [client 10.10.20.108] File does not
> exist: /htdocs
> [Wed Feb 02 11:06:02 2011] [error] [client 10.10.20.108] File does not
> exist: /htdocs
That error would seem to indicate some configuration problem; in each
of your test cases, can you run `apachectl -S` to check?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment