Tags:
redirect1Add my vote for this tag create new tag
, view all tags

Question

I spent the past half day looking for the solution here and in the manuals without luck so I am going to ask the question. I want to direct the users to a particular topic on the main web when they click an IP called wikiapps. Currently that takes them to the root /bin/view . I want them on root /bin/view/main or /bin/view/main/knowledgebase (this selection loses the webleftbar). The document root is C:/twiki . How can I redirect them?

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: MS 2003
Web server: Apache 1.3.35
Perl version: 5.8
Client OS: MS 2000
Web Browser: IE 6
Categories: Installation

-- SumnerRAndrewsJr - 02 Jun 2006

Answer

Use Apache redirect. Create a file .htaccess in the directory your users will be landing in, and write:

# The first path here must be a URL path, not a file pathname
Redirect /index.html url_to_your_twiki_page
Redirect /bin/view/ url_to_your_twiki_page2

-- ArthurClemens - 03 Jun 2006

 
Topic revision: r2 - 2006-06-03 - ArthurClemens
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.