I have an application i'm installing on my application server. I've
been
using WEBrick and for now i'd like to just keep using it working in
prototype development mode. This works fine on my development machine
using both http and https, where the host is 'localhost' (ports
3000,3001). It also works fine on the application server http port
3000.
The public/index.html also comes up fine using ssl (port 3001), but
access
to pages that call a controller fail with following message:
x.x.66.67 - - [04/Mar/2010:17:28:43 MST] "GET /tags HTTP/1.1" 500 948
https://x.x.x.x:3001/ -> /tags
'tags' is the name of my model, the request for this error is
https://x.x.x.x:3001/tags
See below for the full startup of WEBrick, initial index page
retrieval,
and then the request for the tags info. Also below is the script i'm
using
to start WEBrick. That's copied from various examples in various
blogs. It
seems popular.
I am NOT running two WEBrick's, just want to run the one copy, all
ssl, on
port 3001, or whatever. I do have tomcat running and serving on 443,
and
also an instance of apache. I can't see why they'd be involved though.
Using self generated cert.
I've been looking at asset_host setting, and anything else i can
google,
but i can not find anything that tells me what the problem is. I
suspect
it must have something to do with redirection and dropping the
protocol,
or rather using http rather than https, or maybe it's dropping the
port.
Thanks for any clues, signed, confused (Bob).