Installing and upgrading help

Moodle cannot locate login and calendar page from opening page

 
Picture of Bill Hayman
Moodle cannot locate login and calendar page from opening page
 

Please bear with me as I am a new "moodler".  I have recently installed a "test" version of moodle on a stand alone Linux box running Mandrake 10.0.  I had a few issues with the installation, but appear to have Moodle installed ok.

My problem at this point is when I get to the moodle opening page

(http://localhost/moodle)

I cannot reach to login page via the two links on that page, nor can I reach the calendar page from that link either.  Trying to use those links simply gets me the infamous "Page not found on this server" error message.  However, if I type in the address bar on my browser

http://localhost/moodle/login/index.php

I can get to the login page.  It appears to me that somewhere I don't have a setting/path correct so that the links know where to find those pages.

In my config.php file, my wwwroot and dirroot variables point as follows:

/var/www/html/moodle

I have tried changing that, but then I lose my ability to even get the Moodle start page to come up in my browser.  Interesting that when I move my browser over the "Login" link, the message bar shows the link as

http://127.0.0.1/var/www/html/moodle/login/index.php

However if I type that into my address bar on the browser and try to get there, come up with the "page not found" message.

I sure appreciate any help from all of you, and hope that I can contribute something to the organization as I become more experienced.

Thanks,

Bill

 
Average of ratings: -
Picture of Tony Hursh
Re: Moodle cannot locate login and calendar page from opening page
 
Try leaving dirroot as is (/var/www/html/moodle) and setting wwwroot to http://localhost/moodle.
 
Average of ratings: -
Picture of Bill Hayman
Re: Moodle cannot locate login and calendar page from opening page
 

Tried doing that, when I back out, and try to go to my moodle home page, I get a response page which says there is a problem with config.php, try setting

dirroot to '/var/www/html/moodle'

and

wwwroot to  '/var/www/html/moodle'

which were original settings.

 
Average of ratings: -