/[smecontribs]/rpms/smeserver-wordpress/contribs7/smeserver-wordpress-1.0-rm80opt.patch
ViewVC logotype

Contents of /rpms/smeserver-wordpress/contribs7/smeserver-wordpress-1.0-rm80opt.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Nov 29 03:11:22 2008 UTC (16 years ago) by dungog
Branch: MAIN
CVS Tags: smeserver-wordpress-1_0-2_el4_sme, HEAD
see changelog

1 diff -urN smeserver-wordpress-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainWordpress smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainWordpress
2 --- smeserver-wordpress-1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainWordpress 2007-07-06 16:14:52.000000000 +1000
3 +++ smeserver-wordpress-1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainWordpress 1970-01-01 10:00:00.000000000 +1000
4 @@ -1,24 +0,0 @@
5 -{
6 - my $status = $wordpress{'status'} || "disabled";
7 - return " # wordpress-status is disabled."
8 - unless $status eq 'enabled';
9 -
10 - my $domain = $wordpress{'domain'} || "disabled";
11 - return " # no hostname or domain for wordpress defined"
12 - if $domain eq 'disabled';
13 -
14 - my $DocRoot = "/opt/wordpress";
15 -
16 - $OUT = "";
17 - $OUT .= "\n";
18 - $OUT .= "# Redirect an existing hostname or domain to $DocRoot.\n";
19 - $OUT .= "<VirtualHost 0.0.0.0:80>\n";
20 - $OUT .= " ServerName $domain\n";
21 - $OUT .= " DocumentRoot $DocRoot\n";
22 - $OUT .= "</VirtualHost>\n";
23 - $OUT .= "<VirtualHost 0.0.0.0:443>\n";
24 - $OUT .= " ServerName $domain\n";
25 - $OUT .= " DocumentRoot $DocRoot\n";
26 - $OUT .= " SSLEngine on\n";
27 - $OUT .= "</VirtualHost>\n";
28 -}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed