链接到MediaWiki的Apache2和URL问题 [英] MediaWiki and Apache2 URL issues
本文介绍了链接到MediaWiki的Apache2和URL问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是新来的LAMP和链接到MediaWiki。
i'm new to LAMP and MediaWiki.
要去找我的mediawiki我必须键入 domain-name.com/wiki
。
To go to my mediawiki i have to type in domain-name.com/wiki
.
当我键入 domain-name.com
,我去apache的索引页。
When i type in domain-name.com
, i go to the apache's index page.
如何让根URL直接我到维基页面?
How to make root-url direct me to the wiki page?
推荐答案
我只是增加了一条线在我的 /etc/apache2/httpd.conf
:
I just added one line in my /etc/apache2/httpd.conf
:
RedirectMatch ^/$ http://domain-name.com/wiki/
和它的作品)
这篇关于链接到MediaWiki的Apache2和URL问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文