> 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