Hello everybody.
I have a mediawiki installation in a linux (Debian). I would like to know which permission must have the mediawiki code (the php files). The root is the owner of all the php files, except LocalSettings.php which has 640 privilege and www-data as its owner, and the image directory with 666 privilege and www-data, too. It works well right now, but i would like to know if i am wrong, or something could be better.
And which is the best directory to make the installation?? /var/www/... o another one else??
Thanks very much!!
The Uploads directory needs write access to the public; during installation, so does the Config directory, but be sure to make it read only after installation is done. As /var/www is the web root (as I understand it under Linux), you might want to consider a subdirectory, e.g. /var/www/wiki; although, if the wiki is going to be the only thing on that web server, then that isn't a pressing consideration.
Rob Church
On 13/09/05, Javier Lázaro javieras@unex.es wrote:
Hello everybody.
I have a mediawiki installation in a linux (Debian). I would like to know which permission must have the mediawiki code (the php files). The root is the owner of all the php files, except LocalSettings.php which has 640 privilege and www-data as its owner, and the image directory with 666 privilege and www-data, too. It works well right now, but i would like to know if i am wrong, or something could be better.
And which is the best directory to make the installation?? /var/www/... o another one else??
Thanks very much!!
-- Javier Lázaro Jareño Secretariado de Nuevas Tecnologías y Recursos Virtuales Vicerrectorado de Nuevas Tecnologías y Política
Universidad de Extremadura Plaza Caldereros S/N Edificio Rectorado 10071 - Cáceres (Cáceres) España Extensión: 1110, 7250
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Ok. I know that, but i meant which privileges must have the LocalSettings.php file, the images directory and the others php files, for example, 600, 640?? Who must be the owner, www-data, root,...? And the installation of mediawiki software, could it be made in another directory like /usr/share using an Alias directive in Apache to avoid problems with security?
I'm really interested in all this things cause i must administer a Debian. I would like to know how it is configured wikipedia, for example or another important mediawiki.
Thanks a lot!!!
Rob Church wrote:
The Uploads directory needs write access to the public; during installation, so does the Config directory, but be sure to make it read only after installation is done. As /var/www is the web root (as I understand it under Linux), you might want to consider a subdirectory, e.g. /var/www/wiki; although, if the wiki is going to be the only thing on that web server, then that isn't a pressing consideration.
Rob Church
On 13/09/05, Javier Lázaro javieras@unex.es wrote:
Hello everybody.
I have a mediawiki installation in a linux (Debian). I would like to know which permission must have the mediawiki code (the php files). The root is the owner of all the php files, except LocalSettings.php which has 640 privilege and www-data as its owner, and the image directory with 666 privilege and www-data, too. It works well right now, but i would like to know if i am wrong, or something could be better.
And which is the best directory to make the installation?? /var/www/... o another one else??
Thanks very much!!
-- Javier Lázaro Jareño Secretariado de Nuevas Tecnologías y Recursos Virtuales Vicerrectorado de Nuevas Tecnologías y Política
Universidad de Extremadura Plaza Caldereros S/N Edificio Rectorado 10071 - Cáceres (Cáceres) España Extensión: 1110, 7250
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Set the owner to be the user that the Apache daemon is running under, and allow it to write to the Uploads and Images directories, otherwise CHMOD these directories so they're 666. You should be able to use an Apache alias to help put the files elsewhere.
Rob Church
On 19/09/05, Javier Lázaro javieras@unex.es wrote:
Ok. I know that, but i meant which privileges must have the LocalSettings.php file, the images directory and the others php files, for example, 600, 640?? Who must be the owner, www-data, root,...? And the installation of mediawiki software, could it be made in another directory like /usr/share using an Alias directive in Apache to avoid problems with security?
I'm really interested in all this things cause i must administer a Debian. I would like to know how it is configured wikipedia, for example or another important mediawiki.
Thanks a lot!!!
Rob Church wrote:
The Uploads directory needs write access to the public; during installation, so does the Config directory, but be sure to make it read only after installation is done. As /var/www is the web root (as I understand it under Linux), you might want to consider a subdirectory, e.g. /var/www/wiki; although, if the wiki is going to be the only thing on that web server, then that isn't a pressing consideration.
Rob Church
On 13/09/05, Javier Lázaro javieras@unex.es wrote:
Hello everybody.
I have a mediawiki installation in a linux (Debian). I would like to know which permission must have the mediawiki code (the php files). The root is the owner of all the php files, except LocalSettings.php which has 640 privilege and www-data as its owner, and the image directory with 666 privilege and www-data, too. It works well right now, but i would like to know if i am wrong, or something could be better.
And which is the best directory to make the installation?? /var/www/... o another one else??
Thanks very much!!
-- Javier Lázaro Jareño Secretariado de Nuevas Tecnologías y Recursos Virtuales Vicerrectorado de Nuevas Tecnologías y Política
Universidad de Extremadura Plaza Caldereros S/N Edificio Rectorado 10071 - Cáceres (Cáceres) España Extensión: 1110, 7250
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- Javier Lázaro Jareño Secretariado de Nuevas Tecnologías y Recursos Virtuales Vicerrectorado de Nuevas Tecnologías y Política
Universidad de Extremadura Plaza Caldereros S/N Edificio Rectorado 10071 - Cáceres (Cáceres) España (Spain) Extensión: 1110, 7250
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Hello all together,
I add content to my mediawiki via the XML Import. But there's a problem when the XML files contain category references. The page itself works fine, but the category site does not list the imported page titles as it is supposed to. Is there a workaround for that problem?
Regards, Thorsten
mediawiki-l@lists.wikimedia.org