more fixes for short-url. Put the wiki under /w and redirect / to /wiki/
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#ServerName www.example.com
|
||||
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/html
|
||||
DocumentRoot /var/www
|
||||
|
||||
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
|
||||
# error, crit, alert, emerg.
|
||||
@@ -28,7 +28,9 @@
|
||||
#Include conf-available/serve-cgi-bin.conf
|
||||
|
||||
# MediaWiki Short URL
|
||||
Alias /wiki /var/www/html/index.php
|
||||
RedirectMatch ^/$ /wiki/
|
||||
RedirectMatch ^/wiki$ /wiki/
|
||||
Alias /wiki/ /var/www/w/index.php
|
||||
</VirtualHost>
|
||||
|
||||
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|
||||
|
Reference in New Issue
Block a user