Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Des Dougan on June 03, 2002, 07:37:26 AM
-
I've installed apcupsd and Darrell May's associated RPM. When I point my browser to mydomain/cgi-bin/multimon.cgi, I'm getting my Error 404 page displayed (but without the graphics I normally see).
The Apache error log shows that the URL is being resolved to cgi-bin under the primary html directory rather than primary/cgi-bin. Does anyone know what might be happening here?
Thanks,
Des Dougan
-
I've found that my problem was caused by the changes I made some time ago to redirect port 80 (to 6000). Access works properly if I put :6000 after the URL, although I don't need to do this for the primary site (and I have ZoneEdit set up to redirect to port 6000).
I have customized template fragments 05Port, 35Listen80 and 80Aliases00, and looking again at the code, I suspect that 80Aliases00 is the culprit. The two changes I made in this file are:
my $result = "";
my $ipAddress;
foreach $ipAddress (@ipAddresses)
{
$result .= "\n";
$result .= "NameVirtualHost $ipAddress:6000\n";
my $virtualHost;
foreach $virtualHost (@virtualHosts)
{
$result .= "\n";
$result .= "\n";
I'm not very up to speed on Apache, so would appreciate any help to debug this. Do I need to add further instances of ":6000" in this file, or am I off-base?
Thanks,
Des Dougan