Matthew Vickery wrote:
.htaccess: # Don't show directory listings for URLs which map to a directory. Options All -Indexes
# Force all traffic to use secure connection RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%%7BHTTP_HOST%7D%%7BREQUEST_URI%7D
vhost_ssl.conf: # MediaWiki Short URL Aliases #These must come last, and in this order! Alias /brandstandards /var/www/vhosts/domain.com/httpdocs/bs/index.php Alias /wiki /var/www/vhosts/domain.com/httpdocs/w/index.php Alias /index.php /var/www/vhosts/domain.com/httpdocs/w/index.php (There are two Wikis on the domain but that's not the cause of the problem)
Hmm... since you're already using mod_rewrite for the secure connection stuff, why not try using it instead of Alias for the short URLs too? Something like:
RewriteRule ^wiki(/.*)?$ /w/index.php$1 [L,NS,QSA]
ought to do it.