moodle newbie

moodle newbie

Bernard B -
回帖数:8
I have the server running on my own computer. Its working fine. I did some portforwarding in my router and a friend of mine could reach the first webpage from the outside.  But his browser doesnot show anything when he is clicking a link. Can somebody give this newbie a tip because moodling on my own is not a very useful thing to do
回复Bernard B

Re: moodle newbie

Tony Hursh -
What URL does the link have?

Also, what do you have set for $CFG->wwwroot in your config.php file?

回复Tony Hursh

Re: moodle newbie

Bernard B -

What a fast reaction! Very nice! Thanks. It happens with all the links on the first page, for instance the log in link. This is what I found in my config.php

$CFG->wwwroot = 'http://localhost/';

I installed the moodle files directly in the www map. In the middle of the night I woke up thinking that probably I did not do the obvious and that is sharing the moodle map withe the world. Could this be the problem and if so do I have to hide some config or install files?

回复Bernard B

Re: moodle newbie

Bill Burgos -
Hi Bernard,

'localhost' is usually reserved to your own computer, on ANY computer.

That is, using 'localhost' will not be accessible to anyone who is NOT using your computer. That is why they can only access the first homepage. Using localhost will direct them to their OWN computer, not yours.

As I do not know your home setup, it would be difficult to make any further suggestions.

I highly recommend that you look into networking systems (google would be the first stop) and continuing to ask questions here for more help.

You may also want to start by letting us know the system you intend to use for your setup (Operating System, way to connect to the Internet, etc.).

Hope this helps,

Bill
回复Bill Burgos

Re: moodle newbie

Tony Hursh -
Bernard may want to look into one of the services that lets you have a real host name for your home machine, even if you have a dynamic IP address.

I've used http://www.dyndns.org/ before with good results. It's free for up to 5 host names, I think.



回复Bernard B

Re: moodle newbie

Shawn Gray -

Moodle Newbie.

Is the issue still occuring?

回复Shawn Gray

Re: moodle newbie

Bernard B -
No, I found the solution a few minutes ago. I had to exchange the word localhost in my ip adress. Now its working fine. I fear moodle is going to be a hobby and I must watch my sleeping time.
回复Bernard B

Re: moodle newbie

W Page -
QUOTE:  Bernard B
"...  I fear moodle is going to be a hobby and I must watch my sleeping time.".


Yes, it can do that to you. 大笑

WP1

回复Bernard B

Re: moodle newbie

Tony Hursh -
Bernard, that'll work fine as long as your IP address doesn't change (which it probably will from time to time, if you're running your server on a home connection using DSL or cable modem).

The dynamic DNS service checks your IP address periodically and fixes things up. Also, it lets you have a human-friendly name for your site, rather than requiring your users to remember an IP address.

Sleep? Who needs sleep? I don't think I've had any since I started graduate school. 微笑