How to transfer moodle from www.abc.com/moodle to www.abc.com
by vikas deoarshi -
Number of replies: 7
In reply to vikas deoarshi
Re: How to transfer moodle from www.abc.com/moodle to www.abc.com
by Radik Kalakay -
Hello,
simply move all files to root of "www.abc.com" and edit configuration file - config.php (change $CFG->wwwroot, $CFG->dirroot, $CFG->dataroot if needed)
Rado
simply move all files to root of "www.abc.com" and edit configuration file - config.php (change $CFG->wwwroot, $CFG->dirroot, $CFG->dataroot if needed)
Rado
In reply to Radik Kalakay
Re: How to transfer moodle from www.abc.com/moodle to www.abc.com
by vikas deoarshi -
thank you radik ...
In reply to vikas deoarshi
This forum post has been removed
The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user
Re: How to transfer moodle from www.abc.com/moodle to www.abc.com
by vikas deoarshi -
Thanks Alan...
In reply to vikas deoarshi
Re: How to transfer moodle from www.abc.com/moodle to www.abc.com
by paul rayner -
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
In reply to vikas deoarshi
Re: How to transfer moodle from www.abc.com/moodle to www.abc.com
by Manish Verma -
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.
In reply to Manish Verma
Re: How to transfer moodle from www.abc.com/moodle to www.abc.com
by Richard Enison -
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.
