This question about Installation of Foswiki: Asked

Cannot get past Welcome to Foswiki page

I'm trying to install Foswiki 2.1.7 on FreeBSD 13.1-STABLE.

I used the ApacheConfigGenerator page to generate the configuration.

Access to static resources like ... foswiki-badge.png works.

The dependency check works only showing optional Perl modules not installed ... sudo -u www tools/dependencies

I can access the Welcome page successfully ... http://mymachine/foswiki/

Unfortunately, all the links on the Welcome page say 404 Not Found

Running the view directly ... sudo -u www ./bin/view

Works successfully with four errors reading ...

WARNING - /usr/local/www/apache24/data/Foswiki-2.1.7/data/.htpasswd DOES NOT EXIST

... but outputs HTML successfully.

I can't see any errors in the Apache log ... /var/log/httpd-error.log

The Apache access log shows the 404s and the successful access of the static resource ...

192.168.50.120 - - [30/Jul/2023:14:29:17 +0100] "GET /foswiki/pub/System/ProjectLogos/foswiki-badge.png HTTP/1.1" 200 2657

192.168.50.120 - - [30/Jul/2023:14:45:05 +0100] "GET /Main/WebHome HTTP/1.1" 404 196

192.168.50.120 - - [30/Jul/2023:14:45:10 +0100] "GET /foswiki/bin/view/Main/WebHome HTTP/1.1" 404 196

Tested CGI on the server by using the default installed printenv script with the perl used for foswiki, works successfully.

-- MatthewCarrington - 30 Jul 2023

There could be a few things causing this. Here's some things to check:
  • Are the perl scripts in bin directory executable by the http user?
  • Are you doing anything like shortening urls? If so, try disabling that until you have the un-shortened version working ok.
  • Double check your ScriptAlias setting in the config file.

-- LynnwoodBrown - 01 Aug 2023
 

QuestionForm edit

Subject Installation of Foswiki
Extension
Version Foswiki 2.1.7
Status Asked
Related Topics
Topic revision: r3 - 01 Aug 2023, LynnwoodBrown
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy