SID-02256: GUI is not shown when navigating to http://server/do/configure
| Status: |
Answered |
TWiki version: |
6.0.2 |
Perl version: |
Perl 5.22.1 |
| Category: |
CategoryInstallation |
Server OS: |
Ubuntu Server 16.04.1 |
Last update: |
9 years ago |
I've run through the installation instructions at
http://twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide#Basic_Installation
And now when I navigate to
http://server/do/configure
all I can see is the contents of the file.
See screenshot:
Does anybody have any idea what could be causing this?
Cheers,
Raf
--
Raf Speight-Kaye - 2016-10-05
Discussion and Answer
Check your Apache settings. This means that Apache considers the twiki/bin an html directory; it needs to be a script directory. Run the
ApacheConfigGenerator and you should be OK.
--
Peter Thoeny - 2016-10-05
The following is my TWiki Apache config, created with the
ApacheConfigGenerator http://pastebin.com/h7JGBs4i
I'm on Apache 2.4.18 and this config is in /etc/apache2/conf-enabled/twiki.conf
--
Raf Speight-Kaye - 2016-10-10
This looks like you need to enable the CGI module:
-
sudo a2enmod cgi
-
sudo apache2ctl restart
Per default, the CGI module is available, but not enabled in Debian/Ubuntu. I guess that after entering that command you'll get a harmless note that it will enable
cgid instead of
cgi, which is just as well.
This seems to be a recurring issue... The config file created by the
ApacheConfigGenerator writes it explicitly as its third line, but I guess this is the wrong spot (config files are for machines, not for humans). The hint should go in the
TWikiInstallationGuide, maybe someone will add corresponding information for other Linux distributions.
--
Harald Jörg - 2016-10-10
Looks like that's done it, thank you!!
--
Raf Speight-Kaye - 2016-10-12
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.