Installing on 123-webhost.net
123-webhost.net is a smaller webhosting company (8000 customers, 17500 domain names, 125 servers according to
www.ispgids.com)
Environments are hosted on servers with the following setup:
LINUX DISTRO |
CentOS 6.6 |
APACHE |
Apache 2.4 |
MYSQL |
MySQL 5.6 |
PHP |
PHP 5.5 / 7.0 |
PERL |
Perl 5.10 |
Installation
In a shared hosting environment, TWiki works "out of the box". Foswiki, however, requires some Perl modules that are not installed by default on some shared hosting machines!
Without the following three Perl modules, the installation won't even start:
- CGI::Session
- Crypt::PasswdMD5
- File::Copy::Recursive
Ask your hosting company to install these Perl modules.
Check version
Move from subdirectory to subdomain
1 Create subdomain in the admin panel of your hosting company
2 Adapt the Foswiki configuration accordingly
http://.../bin/configure
VARIABLE |
SUBDIRECTORY VALUE |
SUBDOMAIN VALUE |
Default Url Host: |
http://your.url |
http://foswiki.your.url |
Script Url Path: |
/foswiki/bin |
/bin |
Script Url Path for View: |
/foswiki/bin/view |
/bin/view |
Pub Url Path: |
/foswiki/bin/../pub |
/bin/../pub |
3 Adapt the Foswiki .htaccess
Purpose is to redirect to the main home page of the wiki
4 Adapt the main .htaccess
Purpose is to disallow access to the wiki welcome page by redirecting them to the main home page of the wiki.
This is done in the .htaccess file of the root folder above the wiki folder.
Redirect /foswiki
http://foswiki.your.url/bin/view/Webname/WebHome