OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Backward Compatibility With Zaurususergroup.com, Some ideas...
maslovsky
post Jan 19 2005, 10:33 AM
Post #1





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



Now that ZUG has moved to .org domain and its forums to oesf.org, one problem appeared. All linked to the old forums in zaurususergroup.com are broken. However this could have been avoided by settings up the following:

http://www.zaurususergroup.com/forums should redirect to http://www.oesf.org/forums instead of http://www.zaurususergroup.com/forums. Or http://www.zaurususergroup.org/forums should in its turn redirect to http://www.oesf.org/forums

In any case all links to the old forums in .com domain would still work! There are lots of links to the ZUG forums on the net these days and it's a pity to break them all at once.

I'm sure this is very easy to set up, since I have similar configuration for cacko.biz: http://cacko.biz/cacko redirects to one page, while http://cacko.biz/cacko/feed - to another one.
Go to the top of the page
 
+Quote Post
offroadgeek
post Jan 24 2005, 07:41 AM
Post #2





Group: Admin
Posts: 1,418
Joined: 18-May 03
From: St. Paul, MN
Member No.: 4



I agree, this would be great to do. I just don't know how to setup a redirect where if someone where to try to visit http://www.zaurususergroup.com/forums/inde...showtopic=10229 and have it redirect to http://www.oesf.org/forums/index.php?showtopic=10229.

If you know how to set this up, can you let me know how, or send me an example of how you have cacko.biz setup?

Thanks
Go to the top of the page
 
+Quote Post
maslovsky
post Jan 24 2005, 09:10 AM
Post #3





Group: Members
Posts: 1,426
Joined: 22-October 03
Member No.: 89



Actualy Laze did redirection setup for me, I will ask him.
Go to the top of the page
 
+Quote Post
Laze
post Jan 24 2005, 09:18 AM
Post #4





Group: Members
Posts: 704
Joined: 9-October 03
From: Denmark
Member No.: 20



Actually its my good friend Peter who helped me..

Edit apache httpd.conf

For all redirects..

<VirtualHost *>
ServerName zaurususergroup.com
ServerAlias www.zaurususergroup.com
Redirect permanent / http://www.oesf.org
</VirtualHost>


Just formus

<VirtualHost *>
ServerName zaurususergroup.com
ServerAlias www.zaurususergroup.com
Redirect permanent /forums/ http://www.oesf.org/forums/
</VirtualHost>
Go to the top of the page
 
+Quote Post
offroadgeek
post Jan 24 2005, 01:14 PM
Post #5





Group: Admin
Posts: 1,418
Joined: 18-May 03
From: St. Paul, MN
Member No.: 4



Thanks, but that's just a simple redirect, and that's already done. If you go to zaurususergroup.com it will redirect to zaurususergroup.org. If you go to zaurususergroup.com/forums it will redirect to oesf.org/forums.

The problem is I can't figure out how to redirect a direct link to a post, such as:

http://www.zaurususergroup.com/forums/inde...showtopic=10229

to be automatically redirected to:

http://www.oesf.org/forums/index.php?showtopic=10229

At least now, it will take you to the forums, but not to the specific topic.

Is this possible?
Go to the top of the page
 
+Quote Post
pelrun
post Jan 24 2005, 05:36 PM
Post #6





Group: Members
Posts: 369
Joined: 6-September 04
From: Brisbane, Australia
Member No.: 4,488



Should be - you can use apache's mod_rewrite to do anything you want to URLs if you can write the appropriate regular expression. Something like this:

RewriteEngine on
RewriteRule ^/forums/(.*) http://www.oesf.org/forums/$1 [R,L]

stuck before the basic redirect might be all that's needed.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th July 2014 - 09:14 AM