Good day,
Summary: I've followed all the steps outlined in the manual, but the Short URL isn't working - I receive a 403 error. Without short URLs, the site works fine.
Setup: Apache web server, website root = /var/www/html/w
Details:
In the LocalSettings.php file, I've added the below lines under the $wgSitename.
$wgScriptPath = "/w";
$wgScriptExtension = ".php";
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = false;
In the httpd.conf file, I've added the below lines.
RewriteEngine on
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteRule ^/?$ %{DOCUMENT_ROOT}/w/index.php [L]
For the /var/www and /var/www/html directories, I've ensured the below options are in place:
<Directory /var/www...>
Options Indexes FollowSymLinks
AllowOverride none
Require all granted
</Directory>
So, after all that I get a 403 error. When I check the server logs, it tells me there's a AH01630: client denied by server configuration: /var/www/html/wiki.
What's strange is, I don't have a wiki folder anywhere.
Any assistance would be much appreciated, thanks!