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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-03-18 - RobKruciak
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.