Tags:
create new tag
, view all tags

Question

Hi, I have installed twiki in one of the subdomain of my site,So the url is: http//twiki.mysite.com/ but this shows only the configuration page and i can view the main page from this link:http://twiki.mysite.com/bin/view. So how can i convert the 2nd link to http://twiki.mysite.com/

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Hosting

-- HenmarRina - 10 May 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

There are several ways to show the TWiki home as your site home.

1. Browser redirect. Create a simple HTML page as your site home that contains this in the header:

<meta http-equiv="refresh" content="0; URL=http://twiki.mysite.com/bin/view/Main/WebHome">

2. Apache rewrite rule. Tell Apache to deliver one URL for another. Not tested example httpd.conf entry:

<Directory />
    RewriteEngine On
    RewriteRule ^index\.html$  http://twiki.mysite.com/bin/view/Main/WebHome [L]
</Directory>

3. Generate a static HTML file from your TWiki home. This can be done in regular intervals with a crontab entry. Example:

0,15,30,45 * * * * cd /path/to/htdocs; /usr/bin/wget -O index.html http://twiki.mysite.com/bin/view/Main/WebHome > .log.txt 2>&1

-- PeterThoeny - 11 May 2006

#2 did not work for me on FC8 using Apache 2.2. Well, it did, but it looks like there wasn't any access to the CSS.

-- RobKruciak - 18 Mar 2008

 
Topic revision: r4 - 2008-03-18 - RobKruciak
 
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.