Brion Vibber wrote:
Anthony DiPierro wrote:
Any chance Wikimedia is going to release a list of which files are needed, and what the wrappers are? Or maybe it already has and there's a link to this somewhere?
Obviously the .css files, .js files, .png files, .jpeg files, etc. I'd assume anyone doing this level of configuration/securing is capable of writing a two-line script with a chdir() and an include()...
To be specific...
$ tree /home/wikipedia/common/live-1.5
/home/wikipedia/common/live-1.5 |-- 404.php |-- COPYING -> ../php-1.5/COPYING |-- MWVersion.php |-- extensions -> /usr/local/apache/common/php-1.5/extensions |-- img_auth.php |-- index.php |-- math | `-- texvc -> /usr/local/apache/common/php-1.5/math/texvc |-- redirect.php |-- redirect.phtml |-- skins-1.5 -> /usr/local/apache/common/php-1.5/skins |-- thumb.php `-- wiki.phtml
Where /home/wikipedia/common/live-1.5 is linked from the /w/ directory in the document root, and /usr/local/apache/common/php-1.5 is the main code directory. We use /skins-1.5/ instead of /skins/ to support having a mix of 1.4 and 1.5 installations.
-- Tim Starling