diff -urN smeserver-moodle-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainMoodle smeserver-moodle-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainMoodle --- smeserver-moodle-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainMoodle 2007-07-06 21:48:28.000000000 +1000 +++ smeserver-moodle-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainMoodle 1970-01-01 10:00:00.000000000 +1000 @@ -1,24 +0,0 @@ -{ - my $status = $moodle{'status'} || "disabled"; - return " # moodle-status is disabled.\n" - unless $status eq 'enabled'; - - my $domain = $moodle{'domain'} || "disabled"; - return " # no hostname or domain for moodle defined\n" - if $domain eq 'disabled'; - - my $DocRoot = "/opt/moodle/html"; - - $OUT = ""; - $OUT .= "\n"; - $OUT .= "# Redirect an existing hostname or domain to $DocRoot.\n"; - $OUT .= "\n"; - $OUT .= " ServerName $domain\n"; - $OUT .= " DocumentRoot $DocRoot\n"; - $OUT .= "\n"; - $OUT .= "\n"; - $OUT .= " ServerName $domain\n"; - $OUT .= " DocumentRoot $DocRoot\n"; - $OUT .= " SSLEngine on\n"; - $OUT .= "\n"; -}