Arc Forumnew | comments | leaders | submitlogin
4 points by jmatt 6073 days ago | link | parent

I worked on this a few weekends ago. So maybe I can help.

The first thing I would try to do is get nsv to work on your webserver at http://www.example.com/news. There are many ways to do this. If your server has apache running and you do not have root access then you'll want to configure your apache server to pass web traffic to the arc server at a specific port.

I asked around and had someone recommended configuring a virtual host and proxypass (mod_proxy). Proxies are inherently dangerous and you may still need root to configure mod_proxy. There may be other solutions out there though that don't require root, I'm not sure.

To get news.example.com to work you'll want to properly configure your virtual host. To get the web traffic to asv (arc's webserver) you'll want to configure mod_proxy.

Another option, if you are having access trouble on you current web host is to pick up a virtual server at linode | slicehost or similar and set everything up yourself. Worse come to worse you'll learn a lot about configuring a linux / freebsd server. I know I did.

And yes, I'm a little bitter about giving the frustrating "roll your own" answer since it's already overly used in the lisp and scheme communities. I'll make sure to update this thread when I get around to configuring my website(s) for asv.

Some external links:

mod_proxy - http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypas...

linode (what I use) - http://www.linode.com/

slicehost - http://www.slicehost.com/



1 point by jsomers 6073 days ago | link

Thanks for the advice. I've poked around mod_proxy but not sure where to drop those directives. I can lynx to localhost:8080 fine on the server (i.e. the site works locally on the server), so I guess I'm looking for a map from example.com/news -> localhost:8080, which at least seems like progress. Do I need to put some handler in .htaccess, or is that way off base? Ideas?

-----

3 points by kens2 6073 days ago | link

I haven't actually tried this, so my advice is probably worthless, but take a look at "Configure mod_proxy" at http://confluence.atlassian.com/display/DOC/Using+Apache+wit... and use news in place of confluence.

I don't think .htaccess will help you at all; example.com/news exists in "URL-space" not in the filesystem. So you don't need to do anything with a /news directory.

-----