[rt-users] Apache SSL for RT 3.6.1

Jon Daley bestpractical at jon.limedaley.com
Fri Nov 10 07:13:09 EST 2006


 	You don't want anything else running on port 443?  That should be 
simple then.  You don't need any rewriting or forwarding at all.  Take out 
RT, and get apache to respond to some "hello world" text file on port 443. 
Once you get that working, then put RT back in.

On Fri, 10 Nov 2006, Sujith Emmanuel wrote:
> Hi,
>
>    When i did this, i was taken to another application running on apache
> root.
>    Here is the case, i have an application running on port 80 and RT
> running on 8080. In the RT's virtual host, i tried to forward everything to
> port 443 but the page is going to the other application on root. When i
> tried to forward to some no standard port like 8446, it is working.
>
> How do i solve this problem? I want the application in root to run on http
> and RT on ssl.
>
> Any ideas?
>
> Thanks and Regards
> Sujith Emmanuel
>
> On 11/10/06, Vonnahme, Nathan <nathan.vonnahme at bannerhealth.com> wrote:
>> 
>> 
>> I recently set up RT with SSL.  You can do SSL with virtual hosts, but
>> each SSL host has to have its own dedicated IP address (you can't do
>> name-based virtual hosts with SSL).
>> 
>> Here's how I did it:
>> 
>> <VirtualHost 10.41.16.118:80 >
>>         ServerName myrt.mydomain.com
>>         RedirectMatch permanent (/.*) https://myrt.mydomain.com$1
>> </VirtualHost>
>> 
>> 
>> <VirtualHost 10.41.16.118:443>
>>         ServerName myrt.mydomain.com
>>         DocumentRoot /opt/rt3/share/html
>>         AddDefaultCharset UTF-8
>>
>>          SSLEngine on
>>          SSLCertificateFile "/etc/httpd/conf/ssl.crt/rt.crt"
>>          SSLCertificateKeyFile "/etc/httpd/conf/ssl.key/rt.key"
>>
>>         PerlModule Apache::DBI
>>         PerlRequire /opt/rt3/bin/webmux.pl
>>
>>         <Location />
>>                 SetHandler perl-script
>>                 PerlHandler RT::Mason
>>         </Location>
>>
>>    Alias /NoAuth /opt/rt3/local/html/NoAuth
>>    <Directory /opt/rt3/local/html/NoAuth>
>>                 Options +FollowSymLinks +Indexes
>>                 Order allow,deny
>>                 Allow from all
>>    </Directory>
>>    <Location /REST/1.0/NoAuth>
>>         satisfy any
>>         allow from all
>>    </Location>
>>    <Location /NoAuth>
>>         satisfy any
>>         allow from all
>>    </Location>
>>    <Location /NoAuth/images>
>>         SetHandler default-handler
>>    </Location>
>> </VirtualHost>
>> 
>> 
>> And then you need to make sure the stuff in RT_SiteConfig.pm isn't
>> making URLs like http://myrt.mydomain.com/rt or something.
>> 
>> Set($WebPath , "");
>> Set($WebBaseURL , "https://myrt.mydomain.com");
>> 
>> 
>



More information about the rt-users mailing list