[rt-users] Re: CA Client Certificates and RT 3.0.2???

David Z Maze dmaze at cag.lcs.mit.edu
Thu May 22 13:13:00 EDT 2003


"Greg Boug" <gboug at unico.com.au> writes:

> I'm curious, how did you get RT to run off a second virtual 
> server. I've tried that and failed. The problem being the 
> webmux.pl script can't be loaded into mod_perl more than once... 

The RT setup is outside of any VirtualHost section, so it applies to
all VirtualHosts.  So, in addition to what's quoted below, we have

Alias /rt/ "/home/rt/share/html/"
PerlModule Apache::DBI
PerlRequire /home/rt/bin/webmux.pl
<Location /rt>
  Options Indexes FollowSymLinks
  SetHandler perl-script
  PerlHandler RT::Mason
</Location>

which applies to both the SSL and non-SSL sides, and then the below
that performs NIS-backed authentication on the SSL side, and uses the
'guest' user on the non-SSL side.

>> Our httpd.conf says:
>> 
>> <VirtualHost _default_:80>
>>   <Location /rt>
>>     SetEnv REMOTE_USER guest
>>   </Location>
>> </VirtualHost>
>> 
>> <VirtualHost _default_:443>
>>   <Location /rt>
>>     SSLRequireSSL
>>     AuthType basic
>>     PerlAuthenHandler Apache::AuthenNIS
>>     Require valid-user
>>   </Location>
>> </VirtualHost>

-- 
David Z. Maze                                      dmaze at cag.lcs.mit.edu
Research Scientist                            http://www.mit.edu/~dmaze/
MIT LCS Computer Architecture Group   http://www.cag.lcs.mit.edu/commit/




More information about the rt-users mailing list