This shouldn’t need, and shouldn’t be done via a rewrite. DNS provides
CNAME’s for it, as someone else brought it up earlier in the thread.
Rewrite’s are good however for things like the https redirect mentioned
earlier, although I believe there is a HTTP header that redirects to
ssl.
JD
From: [email protected]
[mailto:[email protected]] On Behalf Of John L.
(IRONRUBY)
Sent: Monday, May 19, 2008 8:45 AM
To: [email protected]; [email protected]
Cc: Jimmy S.
Subject: Re: [Ironruby-core] Playing around with www.ironruby.net
This is all running on Rubyforge … not sure what they’re using. Jimmy –
perhaps you could ping Tom C.
([email protected]mailto:[email protected]) about this?
Thanks,
-John
From: [email protected]
[mailto:[email protected]] On Behalf Of C.J.
Adams-Collier
Sent: Sunday, May 18, 2008 10:44 AM
To: [email protected]
Subject: Re: [Ironruby-core] Playing around with www.ironruby.net
Heh, you’ll need some help from the web server, not just the DNS
registrar. This is how I once told Apache to redirect all HTTP URIs to
HTTPS:
RedirectMatch permanent (.*) https://mail.colliertech.org$1
So you may want to do something like this:
RedirectMatch permanent https?://ironruby.net(.*)
http://www.ironruby.net$1
If they’re both on the same web server, you can do something like this:
ServerName www.ironruby.net
ServerAlias ironruby.net
This all assumes you’re using apache with
mod_aliashttp://httpd.apache.org/docs/2.0/mod/mod_alias.html, of
course I’m sure there’s something quite similar for IIS, though.
Cheers,
C.J.
On Thu, 2008-05-08 at 14:59 -0700, Jimmy S. wrote:
I’m trying to make http://ironruby.net take you to the same page as
http://www.ironruby.net, but in the meantime both might be broken. If
so, just go to http://ironruby.rubyforge.org.
PS. Anyone know how to do this on GoDaddy? Extremely confusing!
~js
Ironruby-core mailing list
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core