Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.