Hello,
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.
Or is this destined to rt-development?
Regards,
Kazu
Hello,
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.
Or is this destined to rt-development?
Regards,
Kazu
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.
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>
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/
Thank you for the response but I still have some problem with some setting.
When I try to login the RT, the browser responds as follows.
Forbidden
You don’t have permission to access / on this server.
Apache/1.3.27 Server at 127.0.0.1 Port 8080
And the /usr/local/apache/logs/error_log shows as follows.
Wed Feb 26 15:04:45 2003] [notice] Apache/1.3.27 (Unix) mod_perl/1.27
configure
d – resuming normal operations
[Wed Feb 26 15:04:45 2003] [notice] Accept mutex: flock (Default: flock)
[Wed Feb 26 15:05:08 2003] [error] [client 192.168.10.54] Directory index
forbid
den by rule: /usr/local/apache/htdocs/
internal11#
Any suggestion?
KazuFrom: “Autrijus Tang” autrijus@autrijus.org
To: “Kazu Kimura” kazu@kmn.co.jp
Cc: rt-users@lists.fsck.com
Sent: Wednesday, February 26, 2003 11:59 AM
Subject: Re: [rt-users] template httpd.conf for rt-2-1-75
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.
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>
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/
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-usersHave you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
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.
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>
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@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
- Autrijus Tang autrijus@autrijus.org [20030226 06:04]: wrote:
<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>
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
Interesting… I had missed that mail of Jesse’s, so I too am at a
loss of what subtle way it will fail with. Maye an attachment with
the .html extension? I can’t seem to think of other possibilities.
Jesse?
Thanks,
/Autrijus/
Interesting… I had missed that mail of Jesse’s, so I too am at a
loss of what subtle way it will fail with. Maye an attachment with
the .html extension? I can’t seem to think of other possibilities.
Well, if you drop a .wml, .css, .ics, .rss or any of a bunch of other types of
file into your RT directory, it won’t know to process them through
mason.
Jesse?
Thanks,
/Autrijus/
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-usersHave you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.
Interesting… I had missed that mail of Jesse’s, so I too am at a
loss of what subtle way it will fail with. Maye an attachment with
the .html extension? I can’t seem to think of other possibilities.Well, if you drop a .wml, .css, .ics, .rss or any of a bunch of other types of
file into your RT directory, it won’t know to process them through
mason.
Mmm, true, but I thought that those things should be processed
verbatim… Apparently not; RT should be handed all files, and
process those with MIME type “text/*”. I stand corrected.
Thanks,
/Autrijus/