Arc Forumnew | comments | leaders | submitlogin
2 points by thaddeus 5469 days ago | link | parent

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.
Any ideas ? Thanks, T.


1 point by CatDancer 5469 days ago | link

Your ProxyPass command is the one I was using with Apache.

Anything in the Apache error log?

Also, are you able to get to port 8080 on the box? I.e.

  curl -v -s http://localhost:8080/

-----

1 point by thaddeus 5464 days ago | link

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?

http://arclanguage.org/item?id=4728 http://arclanguage.org/item?id=4714

any ideas ?

Thanks, T.

-----

1 point by CatDancer 5464 days ago | link

Anything in the Apache error log about what it doesn't like about the response it's getting from the Arc web server?

Oh and if you hit your forum directly at the 8080 (or whatever) port do you have any similar problems?

-----

1 point by thaddeus 5464 days ago | link

Good idea - I should have done that.

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 :)

T.

-----

1 point by thaddeus 5464 days ago | link

well i think it's fixed.

I just changed:

  favicon-url*  "" to  ->  favicon-url*  "logo.gif"
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 :).

T.

-----

1 point by thaddeus 5469 days ago | link

Thanks Cat,

I did manage to figured it out... I had to add the proxy_http module. T.

-----