mediawiki.conf 324 B

1234567891011121314
  1. <VirtualHost *:80>
  2. ServerName localhost
  3. DocumentRoot /var/www/mediawiki
  4. ErrorLog logs/error.log
  5. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  6. CustomLog logs/access.log common
  7. RewriteEngine On
  8. RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/index.php [L]
  9. RewriteRule ^/*$ %{DOCUMENT_ROOT}/index.php [L]
  10. </VirtualHost>