<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>I've just setup a basic RT installation on my
test server (RH9) and it appears to be working so far.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>I am trying to use named virtual hosts to allow
my RT installation to coexist with some other (PHP based) web apps I am also
running on this server.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>I have 2 problems:</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>1) I can no longer access any of my other web
apps on this same server.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>2) I can only connect to the RT web interface
using HTTPS.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Verdana size=2>When I look in my boot logs I can see an error
message as follows: </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>"httpd: [Fri Aug 22 16:00:45 2003][error]
VirtualHost_default_:443 -- mixing * ports and non-* ports with a
NameVirtualHost address is not supported, proceeding with undefined
results."</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>I assume that this is the problem that is forcing
https and preventing me from accessing my other web apps.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Trouble is that no such
"VirtualHost_default_:443" configuration exists in my httpd.conf
file.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Can anyone advise on where to find this config
and how to change it?</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>My VirtualHost block in httpd.conf looks like
this:</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>NameVirtualHost *</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2><VirtualHost *></FONT></DIV>
<DIV><FONT face=Verdana size=2> DocumentRoot
/var/www/html</FONT></DIV>
<DIV><FONT face=Verdana size=2> ServerName
xxx.xxx.xxx.xxx</FONT></DIV>
<DIV><FONT face=Verdana size=2> ServerAlias
donkey</FONT></DIV>
<DIV><FONT face=Verdana size=2></VirtualHost></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2><VirtualHost *></FONT></DIV>
<DIV><FONT face=Verdana size=2> ServerName rt</FONT></DIV>
<DIV><FONT face=Verdana size=2> DocumentRoot
/opt/rt3/share/html</FONT></DIV>
<DIV><FONT face=Verdana size=2> DirectoryIndex index.html
index.html.var</FONT></DIV>
<DIV><FONT face=Verdana size=2> AddDefaultCharset
UTF-8</FONT></DIV>
<DIV><FONT face=Verdana size=2> PerlModule Apache2
Apache::compat</FONT></DIV>
<DIV><FONT face=Verdana size=2> PerlModule
Apache::DBI</FONT></DIV>
<DIV><FONT face=Verdana size=2> PerlRequire
/opt/rt3/bin/webmux.pl</FONT></DIV>
<DIV><FONT face=Verdana size=2> <Location
/></FONT></DIV>
<DIV><FONT face=Verdana size=2> SetHandler
perl-script</FONT></DIV>
<DIV><FONT face=Verdana size=2> PerlHandler
RT::Mason</FONT></DIV>
<DIV><FONT face=Verdana size=2>
RedirectMatch permanent (.*)/$ <A
href="https://rt$1/index.html">https://rt$1/index.html</A></FONT></DIV>
<DIV><FONT face=Verdana size=2> </Location></FONT></DIV>
<DIV><FONT face=Verdana size=2></VirtualHost></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Note I have deliberately configured the
RedirectMatch URL to use https scheme because I can only access the top
page using https and this makes the internal links work
properly. </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Any help much
appreciated.</FONT></DIV></DIV></BODY></HTML>