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://%{HTTP_HOST}%{REQUEST_URI}
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.
--
Ilmari Karonen