Line 30: |
Line 30: |
| | | |
| === Options === | | === Options === |
− | * To disable wordpress. (default is enabled)
| + | You can fine tune access to moodle with DB settings. |
− | config setprop wordpress status disabled
| + | |
− | | + | http://wiki.contribs.org/Generic_WebApp_rpm#New_DB_settings |
− | * To limit access to wordpress.
| |
− | config setprop wordpress 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/wordpress
| |
− | note, this adds another url, it doesn't remove the default
| |
− | | |
− | config setprop wordpress URL blog
| |
− | | |
− | * To run wordpress from the root of a domain eg.
| |
− | wordpress.yourserver.net or <br>
| |
− | domain2.org
| |
− | | |
− | config setprop wordpress domain wordpress.yourserver.org OR
| |
− | config setprop wordpress domain domain2.org
| |
− | | |
− | In /server-manager ''Hostnames and Addressess'' setup eg. wordpress as a hostname on one of you domains or <br>
| |
− | in ''Domains'' setup a new domain eg. domain2.org, wordpress 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 will 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 === |