[rt-users] RT / Apache setup problem

Patrice Seyed apseyed at bu.edu
Tue Aug 26 11:24:13 EDT 2003


I've seen this error message before with Redhat 9 and apache, and
virtual hosting, it has something to do with ssl (which runs on port
443).
You need to explicitly state port 80 in your httpd.conf for your virtual
host section(s):
<VirtualHost *:80>
 
If you do a deja.com on this you might find a more indepth explanation.
 
/Patrice
 
 
-----Original Message-----
From: rt-users-admin at lists.fsck.com
[mailto:rt-users-admin at lists.fsck.com] On Behalf Of Richard Foxworthy
Sent: Tuesday, August 26, 2003 6:08 AM
To: rt-users at lists.fsck.com
Subject: [rt-users] RT / Apache setup problem
 
I've just setup a basic RT installation on my test server (RH9) and it
appears to be working so far.
 
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.
 
I have 2 problems:
 
1) I can no longer access any of my other web apps on this same server.
 
2) I can only connect to the RT web interface using HTTPS.
 
When I look in my boot logs I can see an error message as follows: 
 
"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."
 
I assume that this is the problem that is forcing https and preventing
me from accessing my other web apps.
 
Trouble is that no such "VirtualHost_default_:443" configuration exists
in my httpd.conf file.
 
Can anyone advise on where to find this config and how to change it?
 
My VirtualHost block in httpd.conf looks like this:
 
NameVirtualHost *
 
<VirtualHost *>
    DocumentRoot /var/www/html
    ServerName xxx.xxx.xxx.xxx
    ServerAlias donkey
</VirtualHost>
 
<VirtualHost *>
    ServerName rt
    DocumentRoot /opt/rt3/share/html
    DirectoryIndex index.html index.html.var
    AddDefaultCharset UTF-8
    PerlModule Apache2 Apache::compat
    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
        RedirectMatch permanent (.*)/$ https://rt$1/index.html
    </Location>
</VirtualHost>
 
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. 
 
Any help much appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030826/6ebffe62/attachment.htm>


More information about the rt-users mailing list