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 ...
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