Tags:
create new tag
view all tags

Question

I am slightly ashamed to say this but I have been trying to get TWiki working for several weeks. I am finally able to configure (../twiki/bin/configure) but when I view (../twiki/bin/view) all the links are 404 errors. Does anyone have a suggestion? Also, is there anyway to attiain the unix installer?

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SUSE 10.1
Web server: Apache2
Perl version: 5.8.8
Client OS:  
Web Browser:  
Categories: Installation

-- ChrisReed - 23 Jun 2006

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.

If you are not too comfortable doing the apache / perl / cgi / twiki configuration, you could try out the TWikiVMDebianStable approach in parallel. It will allow you to inspect a working, pretty default configuration and compare to your own setup.

But from the sound of it your problem most likely is due to your apache configuration not including the example apache httpd.conf shipped, or the file is not updated correctly to fit your environment.

-- SteffenPoulsen - 24 Jun 2006

Can you tell me what might be wrong with my httpd.conf file? Here is what I have added to the file:

# TWiki COnfiguration
ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/"
 Alias /twiki/ "/home/httpd/twiki/"
 <Directory "/home/httpd/twiki/bin">
    Options +ExecCGI
    SetHandler cgi-script
    Allow from all
 </Directory>
 <Directory "/home/httpd/twiki/pub">
    Options FollowSymLinks +Includes
    AllowOverride None
    Allow from all
 </Directory>
 <Directory "/home/httpd/twiki/data">
    deny from all
 </Directory>
 <Directory "/home/httpd/twiki/templates">
    deny from all
 </Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

# Twiki config file
Include /home/httpd/twiki/twiki_httpd.conf

-- ChrisReed - 26 Jun 2006

You should only do the TWiki apache configuration once. So, either keep the "Include" line and delete the rest of the settings, or keep the explicit settings and delete the Include line. If you decide to keep it, make sure the settings it contain are alright.

If your files actually are in /home/httpd/twiki and available to the webserver (permissions ok?) the config doesn't look broken to me.

-- SteffenPoulsen - 26 Jun 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-06-26 - SteffenPoulsen
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.