New answers tagged

1

RewriteRule ^a\/images/$ images/$1 [L] There is no capturing group in the RewriteRule pattern, so the $1 backreference is always empty and will only rewrite the request from /a/images/ to /images/ (note the trailing slash). To rewrite a request to any path depth then you simply need to establish that there is something (even just 1 character) in the URL-...


3

It looks like perhaps the <VirtualHost> containers are defined/loaded in the wrong order and requests for XX.mediawiki.wordpressinstance.example are seemingly matching the wrong vHost. The first vHost that matches will "win". Either changing the order of the vHosts and/or being more specific with the ServerName and ServerAlias directives in ...


Top 50 recent answers are included