I want to apache in server with RT think that he have https
configuration, actually he does not because all traffic goes by other
server were stands CAS and apache with reverse proxy.

Below I put some example configuration.
RT_SiteConfig.pm
...
Set($WebPath , "/rt");
#Set($WebBaseURL , "http://localhost";);
Set($WebDomain, 'external_domain');
Set($CanonicalizeRedirectURLs, 1);
Set($WebURL, "https://external_domain/";);
Set($WebPort, 443);
httpd.conf
#### CAS configuration
CASLoginURL https://external_domain/cas/login
CASValidateURL https://external_domain/cas/validate
CASValidateServer Off
CASVersion 1
CASSSOEnabled On
CASDebug On
CASCookiePath path_for_cookies



ServerName external_domain:80
Listen 443

#NameVirtualHost *:80
#<VirtualHost _default_:80>
<VirtualHost *:443>
        ServerAdmin abcd
        DocumentRoot some_other_path
        LogLevel debug
        <Location /rt>
                Order allow,deny
                Allow from all
                AuthType CAS
                AuthName "CAS"
                require valid-user
                SetHandler perl-script
                PerlResponseHandler Plack::Handler::Apache2
                PerlSetVar psgi_app /opt/rt4/sbin/rt-server
        </Location>
        <LocationMatch "/NoAuth">
                Satisfy Any
                Allow from all
        </LocationMatch>
        <Perl>
                use Plack::Handler::Apache2;
                Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
        </Perl>
</VirtualHost>
--------
We're hiring! http://bestpractical.com/jobs

Reply via email to