Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using Windows and JetBrains IDEA; and trying to serve a hard coded .zip file for scala, since IDEA's plugin is hard-coded to a non-existent location on scala-lang.org.

So I've added:

127.0.0.1 scala-lang.org

And am serving scala-2.10.0-RC2.zip (a renamed scala-2.11.0-M4.zip) from the following routes:

@route('/dist/<filename>')
@route('/downloads/distrib/files/<filename>')

Unfortunately it is looking for a www prefixed address. How do I make this also redirect locally?

share|improve this question
up vote 1 down vote accepted

If I'm understanding you, the host www.scala-lang.org needs to resolve to 127.0.0.1 too. That's easy. Just add it to the line in the /etc/hosts

127.0.0.1 scala-lang.org www.scala-lang.org

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .