Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: RubySpec link-up with RubyDoc: msg#00021

Subject: Re: RubySpec link-up with RubyDoc
Charles Oliver Nutter wrote:
James Britt wrote:
Gary Wright wrote:

On Mar 27, 2007, at 8:57 PM, James Britt wrote:
...
Hmm. I'm up for it if I can figure out (or be told) the right way to do it. I think a simple mod_rewrite redirect would work, no?


I think you'll just want to enter the sub-domain
into your DNS zone for ruby-doc.org. That way the HTTP
requests go directly to the RubySpec site without having
to be redirected from the ruby-doc.org site first.

Thanks.  That popped into my head right after hitting the 'send' button.


I can just do a CNAME to another URL and have DNS do the redirect, correct?

If you cname or alias to jruby.thresher.com's IP, I'll arrange to have vhosting changes made in Apache.


I did a little test, and I can set a CNAME that points to another domain (e.g., jruby.thresher.com). On the receiving end I had to add a ServerAlias for the CNAME, as that is what is passed to Apache.

The nice thing is that the Web browser retains the alias while loading the CNAME'd page, so the use of the alias is not apparent.



Now I just need to get the wikis moved...

How about spec.ruby-doc.org? That has an air of officiality.


Sure.  That sounds good.

Consider it done.

You now need to have your server handle spec.ruby-doc.org

James




<Prev in Thread] Current Thread [Next in Thread>