==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=5534
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Summary: NFR: Integrate Web App redirect script into
smeserver-sitex
Product: SME Contribs
Found-In-Version: 7.4
Platform: PC
Fixed-In-Version: Unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: smeserver-sitex
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
>From http://wiki.contribs.org/Web_Application_Redirect_Tutorial
pico -w /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80OptDomainSiteX
cut and paste the following
{
my $status = $sitex{'status'} || "disabled";
return " # sitex-status is disabled.\n"
unless $status eq 'enabled';
my $domain = $sitex{'domain'} || "disabled";
return " # no hostname or domain for sitex defined\n"
if $domain eq 'disabled';
my $DocRoot = "/opt/sitex";
$OUT = "";
$OUT .= "\n";
$OUT .= "# Redirect an existing hostname or domain to $DocRoot.\n";
$OUT .= "<VirtualHost 0.0.0.0:80>\n";
$OUT .= " ServerName $domain\n";
$OUT .= " DocumentRoot $DocRoot\n";
$OUT .= "</VirtualHost>\n";
$OUT .= "<VirtualHost 0.0.0.0:443>\n";
$OUT .= " ServerName $domain\n";
$OUT .= " DocumentRoot $DocRoot\n";
$OUT .= " SSLEngine on\n";
$OUT .= "</VirtualHost>\n";
}
# expand-template /etc/httpd/conf/httpd.conf
# sv h /service/httpd-e-smith
# db configuration setprop sitex domain www.mydomain.com
David, would it be possible to incorporate the above into smeserver-sitex and
do you see any problems with it.
Ta Lloyd
--
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/