Thread:Project:Support desk/URL format for mediawiki/reply (5)

Unfortunately, both solutions do not work for me. Note that my web server runs inside an Apache VirtualHost...

As specified somewhere in the installation instructions, I included /etc/mediawiki/apache.conf. This file contains an Alias rule:

Alias /wiki /var/lib/mediawiki

But in the same file there is a comment saying that this "does not work properly with virtual hosts".

However, I tried it with and without this Alias in combination with the Rewrite-Rule pointed to by Ciencia Al Poder:

RewriteEngine On    RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]

Whenever I want to access my wiki with the short URL (/wiki/Topic), the page is displayed without style. I assume that CSS files are not found. I also receive this error in the apache error log:

File does not exist: /var/lib/mediawiki/Topic

What else can I do?

Thank you Magnus