Quantcast
Channel: Web services
Browsing all 2362 articles
Browse latest View live

Re: Incorrect access detected, this server may be accessed only through...

by Olumuyiwa Taiwo.  What are you typing into the address bar in the browser on the external computer you're trying to access your moodle site from? That's what you need to set $CFG->wwwroot to.

View Article


Image may be NSFW.
Clik here to view.

Re: Incorrect access detected, this server may be accessed only through...

by Moataz Desouky.  what I type from the external network, is the real IP (Static IP), I change it in config.php also still gives me the same error.

View Article


Re: Incorrect access detected, this server may be accessed only through...

by Olumuyiwa Taiwo.  That doesn't sound right. That error is produced if there is a mismatch between what you've typed into the browser address bar and the value of $CFG->wwwroot. Can you provide...

View Article

Re: Incorrect access detected, this server may be accessed only through...

by Ken Task.  The only way to properly setup a private IP Moodle server to be accessed from the public internet is to use a fully qualified domain name (not Windows private/internal domain names) for...

View Article

Image may be NSFW.
Clik here to view.

Re: Incorrect access detected, this server may be accessed only through...

by Moataz Desouky.  This is what I have in config.php and I changed the the Local IP to the Real IP I have, $CFG->wwwroot   = 'http://192.168.2.2:8181/moodle';$CFG->dataroot =...

View Article


Re: Incorrect access detected, this server may be accessed only through...

by Moataz Desouky.  I understand your point, but I mean is there anyway to access it from the external other than FQDN?

View Article

Re: Incorrect access detected, this server may be accessed only through...

by Ken Task.  There was, at one time, a 'work-around' one could use in the config.php, but think folks eventually had to give up on itHow about you think about this ... let's say that users inside...

View Article

Re: Incorrect access detected, this server may be accessed only through...

by Ken Task.  Replying to own post ... how sick is that? :\One more reason to use FQDN ... it's probably a good idea to run any web service under https rather than http.   While one could use a...

View Article


Re: Incorrect access detected, this server may be accessed only through...

by Olumuyiwa Taiwo.  This is weird - you've set $CFG->wwwroot = http://REAL IP:8181/moodle in config.php, but when you type http://REAL IP:8181/moodle into the browser, you get an error saying the...

View Article


Re: Incorrect access detected, this server may be accessed only through...

by Moataz Desouky.  Hello again I already made a FQDN pointing on the real IP with the host, I tried to change it in the config.php. but still I have the same error.. I am not really good at PHP... is...

View Article

Re: Incorrect access detected, this server may be accessed only through...

by Ken Task.  *IF* you do have a FQDN for the box now, then this should be in config.php:$CFG->wwwroot   = 'http://FQDN:8181/moodle';So let's check, from the box that's acting as the server, use...

View Article

Image may be NSFW.
Clik here to view.

Re: Incorrect access detected, this server may be accessed only through...

by Moataz Desouky.  OK This is what I got after I changed to,$CFG->wwwroot   = 'http://moodle.gounanursing.org:8181/moodle';I still receive this message if I try to access it internally or from an...

View Article

Re: Incorrect access detected, this server may be accessed only through...

by Ken Task.  HTTP_REVERSE_VIA     TMGHTTP_HOST     hostobsecured.elgounanursing.local:8181 SERVER_ADDR     192.168.2.2SERVER_PORT     8181REMOTE_ADDR     192.168.2.1 Project is named moodle and points...

View Article


Web Services Authorization by Role

by Scott Dickson.  I see that users need to be authorized for use of web services.  Is there any way to authorize by role?My intent is for all teachers to be authorized to use the web service.  In this...

View Article

Re: External services - unable to add functions

by student m2.  hi all,i want to invoke a web service imlemented in java with netbeans but i don't know  how. please can you help me? thanks

View Article


Re: Grade API Plugins

by Scott Dickson.  I find it odd that there are no out-of-the-box web services that support submitting/updating grades from an external provider.  Am I missing something as well?

View Article

Re: Incorrect access detected, this server may be accessed only through...

by Olumuyiwa Taiwo.  Visiting the site at http://moodle.gounanursing.org:8181/moodle/ gives this error:Incorrect access detected, this server may be accessed only through...

View Article


My presentation at the MoodleMoot Ireland UK

by Juan Leyva.  Hi,I did this presentation about developing Web Services for Moodle:http://www.slideshare.net/juanleyva/mastering-moodle-web-services-development I hope you may find it...

View Article

Image may be NSFW.
Clik here to view.

Re: My presentation at the MoodleMoot Ireland UK

by Matteo Scaramuccia.  TNX for sharing   !Matteo

View Article

Image may be NSFW.
Clik here to view.

Re: Incorrect access detected, this server may be accessed only through...

by Moataz Desouky.  The Host DNS pointing to the Real IP, and yes I have changed $CFG->wwwrootto http://moodle.gounanursing.org:8181/moodle/?, and it gives me the same error from the internal...

View Article
Browsing all 2362 articles
Browse latest View live