Howto - RT Web Interfaces Spawns Download Box with httpd/unix-directory Type

Bill Pitz

If you are running RT and receive a download dialog box when trying to access the web interface (Firefox will indicate a content type of httpd/unix-directory), the cause of the problem can be difficult to pin down. I found that the problem was caused by the Scalar::Util Perl module, presumably because it had been recently updated with the rest of the system. The problem with RT did not manifest itself until Apache was restarted. (For reference, this was a CentOS 5.3 64-bit system.)

To fix the problem, I removed the Scalar/ file, downloaded the latest Scalar-List-Utils from CPAN and installed that instead. A quick restart of Apache and RT was running properly again.

# Make sure the bad version of is removed.
rm /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Scalar/

# Retrieve and compile the replacement
tar -zxvf Scalar-List-Utils-1.21.tar.gz
cd Scalar-List-Utils-1.21
perl Makefile.PL
make install

# Restart Apache
service httpd restart