Setup a Project Wiki: Difference between revisions

From Research
Jump to navigation Jump to search
(Removed outdated install docs)
(Removed outdated install docs)
Line 60: Line 60:
== Customizing ==
== Customizing ==
=== Permitted Upload File Extensions ===
=== Permitted Upload File Extensions ===
==== Kingfisher (Wiki-city) ====
==== sr-hercules01 (Wiki-city) ====
All changes should be made to '''/srv/www/htwiki/'''''<project_name>'''''/LocalSettings.php'''.  In most cases the variable you want to adjust is already defined under includes/DefaultSettings.php, but this may be over-written during upgrades!!
All changes should be made to '''/var/www/localhost/htdocs'''''<project_name>'''''/LocalSettings.php'''.  In most cases the variable you want to adjust is already defined under includes/DefaultSettings.php, but this may be over-written during upgrades!!
Typical examples are to enable or disable all file uploading:


<font color=red>hostname</font> <font color=blue>~ #</font> '''emacs -nw /srv/www/htwiki/'''''<project_name>'''''/LocalSettings.php'''
          $wgDisableUploads            = false;
          $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'fls', 'swf', 'doc', 'jar', 'dmg' );
After this, check the user/permissions on the $projectname/images directory.  Change:
<font color=red>hostname</font> <font color=blue>htwiki #</font> '''chown wwwrun:www images'''
Suitable permissions for '''images/''' would be '''755'''
  <font color=red>hostname</font> <font color=blue>htwiki #</font> '''chmod 755 images/'''


==== Tirpitz (Research wiki) ====
==== Tirpitz (Research wiki) ====

Revision as of 06:17, 18 February 2010