Item1833: default pub-htaccess.txt not working on DreamHost
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: css and images
Branches:
I've already noted a workaround here:
http://foswiki.org/Support/HeckHowToSetupTwikiOnDreamHost
Basically, there is something wrong with the default settings in pub-htaccess.txt that causes the webserver on
DreamHost to not access the css and image files. Not using it for the /pub directory is a work around. I'm not sure how to fix it though. Sorry.
As Dreamhost sets up your home directory as a symlink to another location, you must enable the FollowSymLinks option in your Apache setup. In my installation, I have made the following changes to the following .htaccess files:
.htaccess in the directory at the root of the Foswiki installation:
Options -Indexes +FollowSymLinks +SymLinksIfOwnerMatch
pub/.htaccess
Options None +FollowSymLinks +SymLinksIfOwnerMatch
I am toying with some ideas of how to increment site/OS-specific instructions on top of the standard installation and upgrade documents. Once I get a chance to try some things out, I plan to look at creating a version of the installation document customized for Dreamhost.
--
IsaacLin - 17 Jul 2009