Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: Obsolete step in Rockbox GUI installer, trying to contact website which doesn't exist (Win32, maybe other OSes too)

RE: Obsolete step in Rockbox GUI installer, trying to contact website which doesn't exist (Win32, maybe other OSes too)

From: Christopher Woods <christof_at_infinitus.co.uk>
Date: Mon, 15 Sep 2008 11:58:40 +0100

> Read back in the thread, rockbox-themes.org is already
> redirected to rockbox-themes.cleansoap.org.
> Prior in the thread I quote bluebrother on how it is
> stripping the path of the request
>
> <bluebrother> soap: still around? rbutil now fails simply
> because rockbox-themes.org redirects to cleansoap.org but
> drops the path of the request (i.e. /rbutilqt.php?res=... ->
> /?res=..., which results in a bad request response)
>
> Christopher Woods suggested there is something which could be
> done on the cleansoap.org side of things to fix this. It
> appears you are suggesting a change to the rockbox-themes.org
> side of things?

Indeed, what I was suggesting was two alternatives:

1) I (or someone who has hosting to throw at the domain name) liaises with
the rockbox-themes.org owner to point the domain at the hosting, and then
hosts a simple .htaccess, with something like this configuration:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.rockbox-themes\.org [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule (.*) http://rockbox-themes.cleansoap.org/$1 [L,R=301]

That should work nicely and pass all variables (also allowing people to
leave the www off too like I prefer), and also allow rbutil to work once
more.

Alternatively, the domain is repointed at the cleansoap mirror by modifying
the A record (and maing "www" into a CNAME which points at the primary A
record! Or just setting up the main record as a wildcard, while we're
covering all the bases). The cleansoap admin - if he's using Apache, cba to
check - sets up a ServerAlias to listen for incoming requests via the new
domain name. Job's a good 'un!

Neither of these options are too hard to do, I've done the former for a few
of my domains already, and many people have written about it (random google
result (which I actually pinched some of the htaccess code from because I'm
always forgetting my regex):
http://www.tonybhimani.com/2008/01/26/domain-redirection-using-apache-mod_re
write-and-htaccess/). This just needs a little coordination to get sorted
out. :)

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ: http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette: http://www.rockbox.org/mail/etiquette.html
Received on 2008-09-15


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa