firefox_2006 Posted October 17, 2007 Posted October 17, 2007 Hi I have managed to setup Moodle 1.8.2 using WAMP on a Windows 2003 Server machine. How do I now get access to it from other machines in the school. the local address is //localhost/moodle firefox_2006
plock Posted October 17, 2007 Posted October 17, 2007 Should be something like this: http://servername/moodle
firefox_2006 Posted October 17, 2007 Author Posted October 17, 2007 Nope still won't work any other ideas?? have I got to faff about with the server for it to accept incoming requests or something like that? firefox_2006 soooooooo close now
webman Posted October 17, 2007 Posted October 17, 2007 You need to change the Apache httpd.conf (WAMP icon > Config files > httpd.conf) file around line 204 to something like this: Order Allow,Deny Allow from all Look up the Apache documentation if you want to restrict this to a subnet or such.
firefox_2006 Posted October 17, 2007 Author Posted October 17, 2007 still not working the name of the server that moodle is installed on is moodleserver so i take it all i need to do is open IE and type in moodleserver/moodle is this correct?
webman Posted October 17, 2007 Posted October 17, 2007 Yep, that should work. What error message(s) are other netwprk machines getting when they try to browse to http://moodleserver/moodle? Can other machines ping 'moddleserver' and get a reply? If not it could be that the moodleserver is not in the DNS. It's also worth checking the Apache access/error logs.
maniac Posted October 17, 2007 Posted October 17, 2007 Try using the server IP number in place of the server name, as this will bypass DNS, and show if it's a problem with the webserver or DNS. Mike.
firefox_2006 Posted October 18, 2007 Author Posted October 18, 2007 Hi I can ping the server and remote desktop to it as well, but I just can't get access to the bloody moodle on any other computer, what am I doing wrong? Is there a setting somewhere I have not checked? firefox_2006
plock Posted October 18, 2007 Posted October 18, 2007 So replacing http:// servername / moodle with http:// IP ADDRESS /moodle doesn't work?
firefox_2006 Posted October 18, 2007 Author Posted October 18, 2007 @Plock: No it does not.........I am using WAMP and all services are running, server is showing as "online", why cannot I access it from any other machines? firefox_2006
strawberry Posted October 18, 2007 Posted October 18, 2007 make sure you've run the apache and mysql batch files, then type in the server name into IE and you should be ok
firefox_2006 Posted October 18, 2007 Author Posted October 18, 2007 @strawberry: Where do I find these batch files? sorry if I sound totally useless but I have never set this up before, did not know it would be such a ball ache! firefox_2006
webman Posted October 18, 2007 Posted October 18, 2007 From the other machines: Can you access the main WAMP page, eg by browsing to http://servername/ or http://ip.address.of.server?
firefox_2006 Posted October 18, 2007 Author Posted October 18, 2007 @webman No I can't, I have just tried creating a hello.html file in the www root folder of the wamp folder, gone to another machine, opened up a web browser typed in the ip address/moodle and still cant access nothing.
webman Posted October 18, 2007 Posted October 18, 2007 What exactly is coming up then when you try to access it? What is the IP configuration of the network/moodle server/clients?
thegrassisgreener Posted October 18, 2007 Posted October 18, 2007 open the config.php file and in there you can set the host machine by the IP address. Change that. cheers
maniac Posted October 18, 2007 Posted October 18, 2007 Make sure apache is shown as an exception in your windows firewall (if it's turned on.) If it's not shown, then add port 80 as an exception, this will let webtraffic through the firewall. Mike.
firefox_2006 Posted October 18, 2007 Author Posted October 18, 2007 I have found out what the problem was, bloody windows firewall :x turned it off for now, is there anyway to configure the windows firewall so that I can have it on? also I need the GD Library installing as I cannot see images such as similies etc, how do you do this? firefox_2006
webman Posted October 18, 2007 Posted October 18, 2007 Windows "firewall" is more useless than a chocolate teapot on an internal LAN anyway so you might as well leave it disabled. To enable GD: click WAMP tray icon > PHP settings > PHP extensions > php_gd2.
firefox_2006 Posted October 18, 2007 Author Posted October 18, 2007 @webman: Tried going to the tray - still not working, what else can I try? firefox_2006
webman Posted October 18, 2007 Posted October 18, 2007 On the moodle server go to http://localhost/?phpinfo=1 - scroll half-way down the page and look for GD - this will show if GD is running. However I suspect that GD is not the cause of the problem where images aren't being displayed. Could you post your Moodle configuration and the IPs/URLs you are trying to access Moodle from?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now