Changes

From SME Server
Jump to navigationJump to search
1,371 bytes removed ,  08:19, 15 September 2007
db settings linked
Line 29: Line 29:     
=== Options ===
 
=== Options ===
* To disable moodle. (default is enabled)
+
You can fine tune access to moodle with DB settings.
config setprop moodle status disabled
+
   
 
+
http://wiki.contribs.org/Generic_WebApp_rpm#New_DB_settings
* To limit access to moodle.
  −
  config setprop moodle PublicAccess OPTION
  −
 
  −
OPTION is either of the following.
  −
 
  −
        none            => No access
  −
        local            => Local network  (no password required)
  −
        local-pw        => Local network  (password required)
  −
        global          => Entire Internet(no password required)
  −
        global-pw        => Entire Internet(password required)
  −
        global-pw-remote => Entire Internet(password required outside local network)
  −
 
  −
* To add a different URL eg. yourserver.net/moodle
  −
note, this adds another url, it doesn't remove the default
  −
 
  −
config setprop moodle URL school
  −
 
  −
* To run moodle from the root of a domain eg.
  −
moodle.yourserver.net or <br>
  −
domain2.org
  −
 
  −
config setprop moodle domain moodle.yourserver.org OR
  −
config setprop moodle domain domain2.org
  −
 
  −
In /server-manager ''Hostnames and Addressess'' setup eg. moodle as a hostname on one of you domains or <br>
  −
in ''Domains'' setup a new domain eg. domain2.org, moodle will overrule the panel setting
  −
 
  −
To enable your changes run these commands
  −
 
  −
expand-template /etc/httpd/conf/httpd.conf
  −
sv h /service/httpd-e-smith
  −
 
  −
* php applications may be faster with http://sourceforge.net/projects/eaccelerator
  −
prepared for sme7 by MasterSleepy
  −
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownloaddetails&lid=314
  −
 
  −
yum enablerepo=dungog install smeserver-eaccelerator
      
=== Local Settings ===
 
=== Local Settings ===
Line 74: Line 37:  
  ll /etc/e-smith/templates/opt/moodle/html/config.php
 
  ll /etc/e-smith/templates/opt/moodle/html/config.php
   −
If you think your setting should be the SME default raise a bug
+
If you think your setting should be the default raise a bug
    
=== Bugs ===
 
=== Bugs ===

Navigation menu