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

Contents of /rpms/smeserver-wordpress/contribs8/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)
Sun Oct 27 18:04:33 2013 UTC (11 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-wordpress-1_0-13_el5_sme, smeserver-wordpress-1_0-10_el5_sme, smeserver-wordpress-1_0-5, smeserver-wordpress-1_0-11_el5_sme, smeserver-wordpress-1_0-12_el5_sme, smeserver-wordpress-1_2-9_el5_sme, smeserver-wordpress-1_2-7_el5_sme, HEAD
Initial import of srpm

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