File downloads instead of displaying

Okay, so when testing I haven’t had any problems installing, but now
that I’m trying to deploy I’ve run into problems. When I go to my RT
virtual host, it downloads index.html without executing it or
displaying it in my browser. Any ideas?


<VirtualHost :80>
DocumentRoot /opt/rt3/share/html
#RedirectMatch permanent (.
AddDefaultCharset UTF-8

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

 # these four lines apply to Apache2+mod_perl2 only: {{{
 PerlSetVar MasonArgsMethod CGI
 PerlModule Apache2 Apache::compat
 RewriteEngine On
 RewriteRule ^(.*)/$ $1/index.html
 # }}}

 PerlModule Apache::DBI
 PerlRequire /opt/rt3/bin/

 <Location />
    SetHandler perl-script
    PerlHandler RT::Mason
Micah J. Cooper Manager, Computing Services School of Engineering & Applied Science Miami University, Oxford OH 45056

smime.p7s (3.64 KB)