[rt-users] Making progress -- need help with httpd.conf

Bill McGonigle bill at bfccomputing.com
Tue Mar 1 11:42:48 EST 2005


On Mar 1, 2005, at 11:17, Oscar Gonzalez wrote:

> RedirectMatch permanent (.*)/$ http://X.X.X.X$1/index.html

That seems like an overly complex Redirect if you're not proxying 
anything.  Here's a working rt virtualhost from one of my Apache 2 
configs:

----
<VirtualHost *:80>
    ServerName rt.example.com
    DocumentRoot /opt/rt3/share/html
         ErrorLog logs/example.com/rt-error_log
         CustomLog logs/example.com/rt-access_log common

    AddDefaultCharset UTF-8

    # 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>


-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com           Mobile: 603.252.2606
http://www.bfccomputing.com/    Pager: 603.442.1833
AIM: wpmcgonigle                Skype: bill_mcgonigle




More information about the rt-users mailing list