You are here: Foswiki>Tasks Web>Item1833 (11 Dec 2011, MyqLarson)Edit Attach

Item1833: default pub-htaccess.txt not working on DreamHost

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: css and images
Branches:
Reported By: MyqLarson
Waiting For:
Last Change By: MyqLarson
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

ItemTemplate edit

Summary default pub-htaccess.txt not working on DreamHost
ReportedBy MyqLarson
Codebase 1.0.6
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component css and images
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
trunkCheckins
Release01x01Checkins
Topic revision: r4 - 11 Dec 2011, MyqLarson
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