I am currently trying to install MediaWiki to the subdirectory, /var/www/html/w/ in Centos 7 alongside Wordpress (in the root), but am receiving a 500 error when trying to access any pages in /var/www/html/w/. Prior to installing MediaWiki to the directory I was able to access a test index.php file with no trouble. My error log does not show anything, other subdirectories work correctly, and I have an .htaccess file with the following...
RewriteEngine On RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L] RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]
I've also set ownership of the /var/www/html/w/ directories recursively to apache:apache, and the permissions to 755.
Do you know why I can't install, and get the 500 error? Thank you.