Ok I've been working at finally deploying something; I am running into problems.
Here's what I have done:
* I've set up a vps with linode; ubuntu 9.04 with apache2
* I've made sure my domain name hits the right IP.
(i.e. I get "It's Alive.") when I go to the domain name site.
* I've created a user on the VPS and deployed arc.
* I can launch arc and run the as the user.
(I notice (asv 80) doesn't work: "error 32"; I am gathering this is because I am not running as root - that's fine.).
* So I enable mod_proxy and added a proxypass to the apache httpd.conf file:
ServerName mydomain.com
ProxyPass / http://localhost:8080/
Restarted the apache server and I get the following at mydomain:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Ok so after getting an arc3 forum, running on linode - using proxypass I notice I am getting periodic 502 proxy errors.
Also I found this old post that claims that these timeouts are a side effect of the 'date' problem that Anarki had fixed, but in Arc3 pg fixed the date function so i am guessing this wouldn't be the issue?
I am proxy passing from port80 to 3 different ports for 3 different domains (each running it's own arc server). Looks like the calls are getting mixed up.
ie. mydomain1.com, mydomain2.com, mydomain3.com
looks like mydomain1.com should be calling
mydomain1.com/public/favicon.ico
but instead it's getting passed to mydomain2.com
File does not exist: ....mydomain2.com/public/favicon.ico
hmmm. There must be a better way to keep the pointers in order. Back to google :)
I'm hazarding guess, but I think when apache can't find a file via the arc servers static directory apache attempts to find it using anyone if not all of the public directories listed in the virtual hosts.
strange, but anyway - thanks for trying to help Cat, sorry to be a pain - this was my first time installing apache, linux or doing any of this stuff :).
I've got a news forum running, but it's on a very small box so I don't know if I want to drive much traffic to it ;)
At any rate, I'm interested in getting an FCGI interface for arc so that I can host it on Dreamhost. They don't support scgi or a network daemon, so I can't use mod_proxy. If anyone is interested in helping, let me know ;)
Nice. Thanks.
I think that's Russian correct? (pardon if I got it wrong).
I'm just curious. Although I don't use hacker news much (can't relate to the topics as much) - I can see how the layout and usage is much better than most sites I visit. And I can see a mutlitude of uses for it - not just news. So I am just surprised I haven't seen more of them. I was thinking about starting one up for my industry peers (not the hackers).
Just wanted to see what other members experiences were.
T.