[rt-users] template httpd.conf for rt-2-1-75

Autrijus Tang autrijus at autrijus.org
Tue Feb 25 21:59:39 EST 2003


On Wed, Feb 26, 2003 at 11:01:47AM +0900, Kazu Kimura wrote:
> I would like to know the template of httpd.conf for the latest rt-2-1-75 or
> rt3.0beta.
> 
> I don't know how to setup virtual host with it.

Please read the README. :-)

<VirtualHost your.ip.address>
    ServerName your.rt.server.hostname
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8

    # this line applies to Apache2+mod_perl2 only
    PerlModule Apache2 Apache::compat

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

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

But in my server the location tag is replaced by:

    <FilesMatch "\.html$">
        SetHandler perl-script
        PerlHandler RT::Mason
    </FilesMatch>
    <LocationMatch "/Attachment/">
        SetHandler perl-script
        PerlHandler RT::Mason
    </LocationMatch>
    <LocationMatch "/REST/">
        SetHandler perl-script
        PerlHandler RT::Mason
    </LocationMatch>

Thanks,
/Autrijus/



More information about the rt-users mailing list