1,575
edits
Changes
no edit summary
###run ''sudo chown -h apache:apache /var/www/mediawiki'' to ensure that the symbolic link is owned by the apache user
###run ''sudo chown -R apache:apache /var/www/mediawiki/'' to make the apache user the owner of all of the mediawiki files so that can properly serve the documents
###Configure SELinux to allow the change in apache's DocumentRoot
####run ''sudo yum install policycoreutils-python'' to allow you to run ''setsebool'' (this can take several minutes)
####run ''setsebool -P httpd_enable_homedirs on'' to allow apache to use a non-standard DocumentRoot (this can take several minutes)
###Backup and modify ''/etc/httpd/conf/httpd.conf''
####change ''DocumentRoot "/var/www/html"'' to ''DocumentRoot "/var/www/mediawiki"''