[rt-users] file downloads instead of displaying

Micah Cooper coopermj at muohio.edu
Tue Dec 23 09:09:49 EST 2003


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?

Thanks
-Micah


<VirtualHost *:80>
     ServerName support.eas.muohio.edu
     DocumentRoot /opt/rt3/share/html
     #RedirectMatch permanent (.*)/$ 
http://support.eas.muohio.edu$1/index.html
     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/webmux.pl

     <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
     </Location>

</VirtualHost>
--------------------------------------------------------
Micah J. Cooper
Manager, Computing Services
School of Engineering & Applied Science
Miami University, Oxford OH  45056
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3724 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20031223/be99977d/attachment.bin>


More information about the rt-users mailing list