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
--
ChrisReed - 23 Jun 2006
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.
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