This question about Installation of Foswiki: Answered

Apache Config generator error

I'm trying to install Foswiki on a 8.04 Ubuntu system and used the config generator.

Restarting Apache failed due to an apparent error in the generated configuration file.

The error message is the following :

Syntax error on line 35 of /etc/apache2/conf.d/Foswiki.conf:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[fail]
invoke-rc.d: initscript apache2, action "restart" failed.

The instruction is the following

RewriteEngine on

Is this command not supported ? My apache version is 2.2.8 (Ubuntu).

If I understood correctly this feature would have the effect to display short urls.

I also would like to enforce SSL access to the wiki and would like to know if there is a tutorial on how to modify the configuration file to support it.


Solved: The apache rewrite module was not enabled. To enable the rewrite module I had to issue the following command :

$ sudo cd /etc/apache2/mods-enabled
$ sudo ln -s ../mods-available/rewrite.load
$ sudo invoke-rc.d apache2 restart

-- ChMeessen - 04 Apr 2010

QuestionForm edit

Subject Installation of Foswiki
Extension
Version Foswiki 1.0.9
Status Answered
Topic revision: r2 - 05 Apr 2010, PaulHarvey - This page was cached on 09 Jan 2018 - 09:38.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License