Author Topic: Backward Compatibility With Zaurususergroup.com  (Read 6272 times)

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Backward Compatibility With Zaurususergroup.com
« on: January 19, 2005, 01:33:18 pm »
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 oesf.org[/b]/forums]http://www.oesf.org/forums instead of zaurususergroup.com[/b]/forums]http://www.zaurususergroup.com/forums.  Or http://www.zaurususergroup.org/forums should in its turn redirect to https://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.
« Last Edit: January 19, 2005, 01:46:15 pm by maslovsky »

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
Backward Compatibility With Zaurususergroup.com
« Reply #1 on: January 24, 2005, 10:41:56 am »
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 https://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
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Backward Compatibility With Zaurususergroup.com
« Reply #2 on: January 24, 2005, 12:10:17 pm »
Actualy Laze did redirection setup for me, I will ask him.

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Backward Compatibility With Zaurususergroup.com
« Reply #3 on: January 24, 2005, 12:18:52 pm »
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 / https://www.oesf.org
</VirtualHost>


Just formus

<VirtualHost *>
     ServerName zaurususergroup.com
     ServerAlias www.zaurususergroup.com
     Redirect permanent /forums/ https://www.oesf.org/forums/
</VirtualHost>
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
Backward Compatibility With Zaurususergroup.com
« Reply #4 on: January 24, 2005, 04:14:19 pm »
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:

https://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?
« Last Edit: January 24, 2005, 10:05:11 pm by offroadgeek »
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Backward Compatibility With Zaurususergroup.com
« Reply #5 on: January 24, 2005, 08:36:24 pm »
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/(.*)  https://www.oesf.org/forums/$1  [R,L]
 
stuck before the basic redirect might be all that's needed.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote