LDAP and SSL problem

I was using RT 3.0 and recently upgraded to the newest
release. Now I am having trouble with the LDAP and
SSL. If I comment out the LDAP stuff, I get the RT
login page. If I comment out the RT stuff, and change
the DocumentRoot to “/var/www/html” then the LDAP
works. However, if I leave it as below, I get the
apache login prompt, but when I login nothing happens.
This is essentially the same configuration that was
working, any ideas on what is wrong?

<VirtualHost *:443>

DocumentRoot "/opt/rt3/share/html"
ServerAdmin admin@localhost
ErrorLog /var/log/rt-ssl_error_log
TransferLog /var/log/rt-ssl_access_log

AddDefaultCharset UTF-8

PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

ErrorLog /var/log/httpd/rt-ssl-error_log
CustomLog /var/log/httpd/rt-ssl-access_log combined

require valid-user AuthType Basic AuthName "Restricted Access" AuthLDAPEnabled On AuthLDAPURL ldap://ldap.server.address:389/ou=users,o=asdf
SetHandler perl-script
PerlHandler RT::Mason

Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

I was using RT 3.0 and recently upgraded to the newest
release. Now I am having trouble with the LDAP and
SSL. If I comment out the LDAP stuff, I get the RT
login page. If I comment out the RT stuff, and change
the DocumentRoot to “/var/www/html” then the LDAP
works. However, if I leave it as below, I get the
apache login prompt, but when I login nothing happens.
This is essentially the same configuration that was
working, any ideas on what is wrong?

<VirtualHost *:443>

DocumentRoot "/opt/rt3/share/html"
ServerAdmin admin@localhost
ErrorLog /var/log/rt-ssl_error_log
TransferLog /var/log/rt-ssl_access_log

AddDefaultCharset UTF-8

PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

ErrorLog /var/log/httpd/rt-ssl-error_log
CustomLog /var/log/httpd/rt-ssl-access_log combined

require valid-user AuthType Basic AuthName "Restricted Access" AuthLDAPEnabled On AuthLDAPURL ldap://ldap.server.address:389/ou=users,o=asdf
SetHandler perl-script
PerlHandler RT::Mason

I’d say you simply did not think over your upgrade. Why should you
have two DocumentRoots for one virtual host?
Your DocumentRoot should be where you installed RT. You don’t have
to make a guess about that, do you?

    cheers
   - wash 

Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
. 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
“Oh My God! They killed init! You Bastards!”
–from a /. post

I’d say you simply did not think over your upgrade. Why should you
have two DocumentRoots for one virtual host?
Your DocumentRoot should be where you installed RT. You don’t have
to make a guess about that, do you?

That’s only true if your install RT at the root of the domain. I
haven’t had the time to investigate this properly, but I was unable to
get RT 3.2.1 running under /rt3, at logon it always redirected back to /
even though I had the right bits set in RT_SiteConfig.

Once I created a virtual host and moved RT to the top level it all
worked fine.

Carl.