Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - USING Global.ASA to reroute?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

USING Global.ASA to reroute?

 Post Reply Post Reply
Author
CavComm View Drop Down
Newbie
Newbie


Joined: 28 April 2010
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote CavComm Quote  Post ReplyReply Direct Link To This Post Topic: USING Global.ASA to reroute?
    Posted: 28 July 2011 at 5:27pm
Wondering if anyone can help.
 
PRIMARY Question
We need to move our forums from for example http://www.example.com/forums - http://www.example.com/forums to http://forums.example.com - http://forums.example.com
 
Is it possible to do this in Global.ASA so that any sub-links people click on redirect?
 
Secondary Question

Our forums have been around for years, and a lot of people post links to other threads in their messages which will obviously not work.  Anyway of doing that as well? OR alternatively a SQL query on posts to remove the http://www.example.com/forums/xxxxxx%28post - http://www.example.com/forums/xxxxxx(post) and replace it with http://forums.example.com/xxxxxx%28post - http://forums.example.com/xxxxxx(post)? 
 
Any ideas?
It wasnt my choice to move it, but since we have an online store on our main domain, our PCI company didnt like the fact that you could login to forums without SSL, and wont make an exception, so I am moving out of the store domain.
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2011 at 7:43am
A global.asa would be no good, what you need to do is to do this at IIS level.

Change the forum folder in to an application folder in the IIS manager allowing you to set it's own settings for the folder. Then set a redirect in the IIS settings for the folder to teh following:-

http://forums.example.com$S$Q

Set this as a permanent redirect. The $S$Q on the end will then do a permanent 301 redirect to the correct location on the new domain.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.