回复vikas deoarshi
本讨论区帖子已移除
本讨论区帖子的内容已移除,无法再访问。
why not just use a redirect and leave files where they are?
Create an index file - that only contains the following:
<meta http-equiv="refresh" content="0;url=http://www.abc.com/moodle" />
Good luck
basil
Besides the redirection and files migration methods there is a method that is used by moodle.org as well I believe, which is to make some simple changes in apache configuration. I remember seeing Martin's post about it in another thread and you should hopefully be able to find it using forum search.
VD, MV, and whoever else is interested,
That's the method I was going to suggest. I don't know about Martin's post, or whether you (MV) meant Martin L. or Martin D., all I know is
EDIT: P.S. abc.com is the Internet domain of the major, major, major radio and TV network ABC, so unless you are with them, that's not a good example domain.
That's the method I was going to suggest. I don't know about Martin's post, or whether you (MV) meant Martin L. or Martin D., all I know is
- If you (VD) are using Apache, and
- you are using your own server so you have access to httpd.conf, then
- all you have to do is change the DocumentRoot directive to point to the moodle directory (folder) instead of its parent. That, of course, requires a corresponding change to wwwroot and dirroot in config.php as RK mentioned, as well as the replace.php utility AH mentioned.
EDIT: P.S. abc.com is the Internet domain of the major, major, major radio and TV network ABC, so unless you are with them, that's not a good example domain.
