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
--
HenmarRina - 10 May 2006
Answer
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