Question
Hello,
I installed twiki 4.2.0 with the self installer. But Apache does not run. I got the message:
Syntax error on Line 7 of C:/Programme/TWiki/twiki.conf
Invalid command ´RewriteEngine`, perhaps misspelled or defined by a module not included in the server configuration.
Do I have to change something after the successful installation with the self installer?
This is my twiki.conf:
ScriptAlias /twiki/bin/ "C:/PROGRA~1/TWiki/twiki/bin/"
Alias /twiki/ "C:/PROGRA~1/TWiki/twiki/"
#rewrite url's for some of the less useful twiki url's
RewriteEngine on
RewriteRule ^/twiki$ /twiki/bin/view [R]
RewriteRule ^/twiki/$ /twiki/bin/view [R]
<Directory "C:/PROGRA~1/TWiki/twiki/bin/">
AllowOverride All
Options ExecCGI
SetHandler cgi-script
Allow From All
#using TemplateLogin
# Password file for TWiki users
#AuthUserFile "C:/PROGRA~1/TWiki/htpasswd"
#AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.'
#AuthType Basic
#Order Deny,Allow
#Deny from all
#Require valid-user
#Satisfy Any
</Directory>
<Directory "C:/PROGRA~1/TWiki/twiki/pub/">
AllowOverride All
Allow From All
</Directory>
Can somebody help me with this?
thanks a lot
cheers
Sebastian
Environment
--
SebastianGiebeler - 16 Jun 2008
Answer
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.
Try changing the first two lines to this:
ScriptAlias /twiki/bin "C:/PROGRA~1/TWiki/twiki/bin"
Alias / "C:/PROGRA~1/TWiki/twiki/bin/view"
If that doesn't work, you could try the
ApacheConfigGenerator.
--
SeanCMorgan - 16 Jun 2008