[Pkg-mediawiki-devel] Bug#596728: Policy for location of web content - application uploaded images

Karl Schmidt karl at xtronics.com
Mon Sep 13 17:44:47 UTC 2010


Package: mediawiki
Version: 1:1.12.0-2lenny5
Severity: normal

The root directory of LAMP uploaded files should be standerdized ( might even have a security benifit )

wordpress uses /srv/www/.../uploaded pictures  Which I think is the correct location
mediawiki uses /var/lib/mediawiki/images/


>From fhs  - /var/lib is for "variable state information"

and "/srv : Data for services provided by this system"

See http://www.pathname.com/fhs/pub/fhs-2.3.pdf for details

-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mediawiki depends on:
ii  apache2            2.2.9-10+lenny8       Apache HTTP Server metapackage
ii  apache2-mpm-prefor 2.2.9-10+lenny8       Apache HTTP Server - traditional n
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  mime-support       3.44-1                MIME files 'mime.types' & 'mailcap
ii  php5               5.2.6.dfsg.1-1+lenny9 server-side, HTML-embedded scripti
ii  php5-mysql         5.2.6.dfsg.1-1+lenny9 MySQL module for php5

Versions of packages mediawiki recommends:
ii  mysql-server-5.0 [ 5.0.51a-24+lenny4     MySQL database server binaries
ii  php5-cli           5.2.6.dfsg.1-1+lenny9 command-line interpreter for the p

Versions of packages mediawiki suggests:
pn  clamav          <none>                   (no description available)
ii  imagemagick     7:6.3.7.9.dfsg2-1~lenny3 image manipulation programs
ii  mediawiki-math  1:1.12.0-2lenny5         math rendering plugin for MediaWik
pn  memcached       <none>                   (no description available)
ii  php5-gd         5.2.6.dfsg.1-1+lenny9    GD module for php5

-- debconf information:
* mediawiki/webserver: apache2





More information about the Pkg-mediawiki-devel mailing list