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

Odhiambo Washington wash at wananchi.biz
Wed Feb 26 03:40:41 EST 2003


* Autrijus Tang <autrijus at autrijus.org> [20030226 06:04]: wrote:
> 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/


Hi All,

I can attest to the fact that this virtualhost config given by
Autrijus (outrageous?? ;)) really does work. I run two apache's
so as to have two instances of RT with modperl (/usr/loca/apache2/
is apache-2.0.44, while /usr/local/etc/apache is apache-1.3.27)

In both cases I use same config, except that one is https and the
other is http. But quoting Jesse Vincent today on rt-devel , it
seems to break stuff:

http://lists.fsck.com/pipermail/rt-devel/2003-February/003173.html

I am a novice with coding so I am not sure what breaks in RT.

Maybe Autrijus can help??

 

        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington, wash at wananchi.com	. WANANCHI ONLINE LTD (Nairobi, KE)  |
http://ns2.wananchi.com/~wash/		. 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223			. # 10286, 00100 NAIROBI             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
						 --from a /. post



More information about the rt-users mailing list