Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin
Server OS: Windows 2000 Server SP4
Web server: Apache 2.2.4
Perl version:  
Client OS: Mac OS X 10.4
Web Browser: Safari
Categories: Installation

-- SebastianGiebeler - 16 Jun 2008

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-06-16 - SeanCMorgan
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.