Link to home
Start Free TrialLog in
Avatar of jebarr
jebarr

asked on

Moodle Installation

I am attempting an installation of Moodle, an open source LMS.  The installation I have chosen is the easyphp, mysql, apache bundle.  Everything seems to have gone smoothly, the installation looks good from the local machine, and apache is running. http://localhost from the browser shows a fully functioning "moodle" site.  However, I cannot access this site from within my LAN.  I don't know if it's a server setting, or something in Apache, or just something obvious in configuration I'm missing.
Avatar of jebarr
jebarr

ASKER

An Update.....I edited the httpd.conf file (actually the conf_files in the easyphp folder created by easyphp install) to listen to the correct IP of the server.  Now the site is accessible.  However, I still get redirected to http://localhost/etc..... even on all the client machines, rather than maintaining the original IP.
Avatar of jebarr

ASKER

Or, I get the page, but each page says done, but with errors on page
> I still get redirected to http://localhost/etc.....

With HTTP statuscode 301? You can check the response i.e. with the firefox extension livehttpheaders from http://livehttpheaders.mozdev.org/

try to set
UseCanonicalName off
in httpd.conf - but I don't know, why apache should force a redirection. this would be only the case, if a trailing slash is missing.

Or does yout application expect the host "localhost" and generates full qualified links like <... href="http://localhost/....">?

> but with errors on page

With an error message or what exactly?
Avatar of jebarr

ASKER

Actually, one of the lines of config.php was set "wwwroot = http://localhost/application" when it should have been http://servername/application
But thank you.
ASKER CERTIFIED SOLUTION
Avatar of DarthMod
DarthMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial