==================================================================
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=8899
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
==================================================================
Bug ID: 8899
Summary: Apache Authentication fails on 9.1 beta
Classification: Contribs
Product: SME Contribs
Version: 9beta
Hardware: ---
OS: ---
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: smeserver-ajaxterm
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Installed ajaxterm on to 9.1 beta
Authentication appears to work but loading generates a 500 Application error
Modified Apache template to suit Apache 2.2
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm
{
if ($port eq "443")
{
# 64 or i386
my $fileauth = -f "/usr/lib64/httpd/modules/pwauth" ?
"/usr/lib64/httpd/modules/pwauth" : "/usr/lib/httpd/modules/pwauth";
$port=$Ajaxterm{servicePort}||8022;
$users=$Ajaxterm{basicAuthUsers}||'admin';
$webalias=$Ajaxterm{webAlias}||'ajaxterm';
$OUT .= " # Ajaxterm\n";
$OUT .= " ProxyPass /$webalias/ http://127.0.0.1:$port/\n";
$OUT .= " ProxyPassReverse /$webalias/ http://127.0.0.1:$port/\n";
$OUT .= " DefineExternalAuth pwauth pipe /usr/bin/pwauth\n";
$OUT .= " <Location /$webalias>\n";
$OUT .= " order deny,allow\n";
$OUT .= " deny from all\n";
$OUT .= " allow from all\n";
$OUT .= " AuthName \"$webalias\"\n";
$OUT .= " AuthType Basic\n";
$OUT .= " AuthBasicProvider external\n";
$OUT .= " AuthExternal pwauth\n";
$OUT .= " require user $users\n";
$OUT .= " Satisfy all\n";
$OUT .= " </Location>\n";
}
}
--
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/