My page loads, but the page looks all wrong
If your page looks strange - page parts moved across the page, ugly fonts, images not loading - this is probably because your webserver cannot read images and stylesheets from the
directory. This is most often because file permissions are set incorrectly:
A fresh install of Foswiki does not have the file ownership of directories set correctly. After unzipping you need to explicitly make the files readable by the webserver.
Use the command
chown -R user:group /path/to/foswiki
The webserver username varies from distributions. Examples for some major distributions:
- RedHat, Fedora, CentOS, Gentoo, Mandriva:
chown -R apache:apache /path/to/foswiki
chown -R www-data:www-data /path/to/foswiki
chown -R wwwrun:www /path/to/foswiki
chown -R www:www /path/to/foswiki
Another possible reason is that your webserver configuration is wrong, and you are not pointing at the
directory. Refer to ApacheConfigGenerator
for help setting up Apache.
If you are running a SubversionBasedInstall
, then you probably need to add
directory in your apache configuration.
Finally check that your
are actually pointing to the right places.