140 reputation
27
bio website
location
age
visits member for 3 years, 4 months
seen May 24 '13 at 14:22

I do stuff


Jul
27
comment How do I set up a named virtual host on ubuntu with proxy pass?
ok, just did all that, but browser gets 500 error, and the apache error log says [warn] proxy: No protocol handler was valid for the URL /favicon.ico. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
Feb
21
comment How do I create a virtual host with basic HTTP auth?
[Tue Feb 21 11:33:04 2012] [error] (61)Connection refused: proxy: HTTP: attempt to connect to [fe80::1]:8808 (localhost) failed [Tue Feb 21 11:33:04 2012] [error] ap_proxy_connect_backend disabling worker for (localhost) [Tue Feb 21 11:35:16 2012] [notice] caught SIGTERM, shutting down
Feb
21
comment How do I create a virtual host with basic HTTP auth?
I did this, and got this error:
Feb
21
comment How do I create a virtual host with basic HTTP auth?
yeah, a singel username / password that everyone would use would be great. I'm aware of the lack of security, but they would have to find it first, right? maybe I also need a way to keep search engine crawlers off of it. This is what I'm running: yardoc.org The server it comes with is not very featurefull.
Feb
6
comment Need help trouble shooting Https webserver error - SSL Handshake failed
SSLProxy is only mentioned once on that link. No examples of how to use it. I changed the request header to be set X-Forwarded-Proto 'https'... but it still doesn't work / I get the same error. Going to localhost:3002 also gives the same error
Feb
3
comment How do I debug / fix my apache SSL setup?
o.o ok. I think we have a huge misunderstanding. me of server stuff in general. you of rails stuff.
Feb
3
comment How do I debug / fix my apache SSL setup?
also, no guide I've ever followed has said RAILS needs a certificate for apache to connect to it. It's just apache that needs the certificates. =\
Feb
3
comment How do I debug / fix my apache SSL setup?
how is it a rails issue? in my app, I don't want standard http, so I just redirect to the https equivalent of the same URL.
Feb
3
comment How do I debug / fix my apache SSL setup?
rails has a certificate? I thought the only certificates were teh ones I made from hints.macworld.com/article.php?story=20041129143420344 and your saying the the "Common Name" should be localhost?
Feb
3
comment How do I debug / fix my apache SSL setup?
SSLProxy is an invalid command o.o
Feb
3
comment How do I debug / fix my apache SSL setup?
Well, we can't turn off https in rails. Teh problem isn't in rails, it's that rails is still receiving an http request, and therefore is redirecting (but apache is forwarding https requests to http, hence the redirect loop). How does one use SSLProxy?
Feb
3
comment How do I debug / fix my apache SSL setup?
when I use just http:// I get a redirect loop. and rails says this: Redirected to ssl.devtinderbox.com Filter chain halted as [:ensure_proper_protocol] rendered_or_redirected. Completed in 0ms (DB: 0) | 302 Found [ssl.devtinderbox.com/] cause the rails app is trying to force SSL (by just redirecting non-ssl requests) ... so maybe I do need SSLProxy*?
Feb
3
comment How do I debug / fix my apache SSL setup?
I just saw your edit. that's what I'm doing, the httpS://localhost:3002 =\
Feb
3
comment How do I debug / fix my apache SSL setup?
but... localhost:3002 is where the server is on the machine that ssl.mydomain.com. like.. once a browser has the IP for ssl.mydomain.com, the server needs to know what to do with the request coming in right? it needs to go to the rails server on 3002. So... I guess... I'm just confused. It goes Remote -> Server -> Rails App (Also on the server) So i guess it is Remote <-> Local <-> Local
Feb
3
comment How do I debug / fix my apache SSL setup?
yes. T_T I guess I just don't know what reverse proxy means. =\
Feb
3
comment How do I debug / fix my apache SSL setup?
but.. .I'm not trying to connect over ssl from localhost to localhost. maybe you didn't see the updates I made to the question... but I'm always connecting from a machine that the server isn't running on. =\
Feb
3
comment How do I debug / fix my apache SSL setup?
ah, sorry, I thought that was clear because of the localhost. port 3002 is listening to both https and http, as rails is pretty cool like that. BUT, I'm having handshake errors. I'm using both 80 and 443 now, because a discussion on stack overflow convinced me that it wouldn't hurt to have both. =\
Feb
3
comment How do I debug / fix my apache SSL setup?
well, when I do that, I get a redirect loop. =\ The rails server re-directs http requests to https. and i guess when I made all the proxypasses to be http, it redirected the https to http =\
Feb
3
comment How do I debug / fix my apache SSL setup?
how does this not work when the rails server handles both http and https? I don't understand. the server is running on port 3002. and the data recieved on ports 80 and 443 is just forwarded to the rails app... the apache SSL stuff decrypts the message and sends it to the rails app doesn't it? so then the rails app can understand both sets of messages. Or i have no idea what I'm doing, and haven't a clue how the production server works on EngineYard. (I'm trying to set up a development / staging server)
Feb
3
comment How do I debug / fix my apache SSL setup?
I thought I did o.o maybe I have no idea what I'm doing. But I'm just trying to access my rails server via SSL from a remote machine. just as any web-goer would access a website from their machine.