Hi all,
This is a bit of a long shot, but there’s a chance on of you has come
across this before. I’m trying to get RT3 working with Apache2 on a
Gentoo Linux system and am in the home straight. Everything pretty much
works as expected from a web server point of view, apart from one
niggling thing. Trying to browse to http://rt3.system.com/ results in a
404 error. Browsing to http://rt3.system.com/index.html works perfectly.
The logs simply say “Attempt to serve directory: /opt/rt3/share/html/”
and don’t expand any further on the problem.
I’ve checked and rechecked my vhosts entries, my directory entries for
/opt/rt3/share/html, even adding the DirectoryIndex directive to both,
but to no avail. Like I said previously, it’s a niggling point, since I
can just point my browsers at the index.html file specifically, but I’d
still like some insight as to why it’s happening.
Thanks in advance for any help you folks can give me.
Regards,
Dermot Williams
Technical Support Engineer
Irish Broadband Internet Services
Trying to browse to http://rt3.system.com/ results in a
404 error. Browsing to http://rt3.system.com/index.html works perfectly.
Put this in RT’s virtualhost section in your httpd.conf:
RedirectMatch permanent (.*)/$ $1/index.html
Thanks,
/Autrijus/
Hi Dermot,
I don’t claim to be the expert on why it is doing this, but we have
also had the same problem. This is the workaround that we use:
<Location /rt3>
[… blah blah blah…]
RedirectMatch permanent ^(.*)/$ $1/index.html
And yes, I got this information from someone else on this list
Hope this helps,
Paul
“Dermot Williams” dermot.williams@irishbroadband.ie 04/29 10:14
am >>>
Hi all,
This is a bit of a long shot, but there’s a chance on of you has come
across this before. I’m trying to get RT3 working with Apache2 on a
Gentoo Linux system and am in the home straight. Everything pretty
much
works as expected from a web server point of view, apart from one
niggling thing. Trying to browse to http://rt3.system.com/ results in
a
404 error. Browsing to http://rt3.system.com/index.html works
perfectly.
The logs simply say “Attempt to serve directory: /opt/rt3/share/html/”
and don’t expand any further on the problem.
I’ve checked and rechecked my vhosts entries, my directory entries for
/opt/rt3/share/html, even adding the DirectoryIndex directive to both,
but to no avail. Like I said previously, it’s a niggling point, since
I
can just point my browsers at the index.html file specifically, but
I’d
still like some insight as to why it’s happening.
Thanks in advance for any help you folks can give me.
Regards,
Dermot Williams
Technical Support Engineer
Irish Broadband Internet Services
Hi!
Devels, please correct README file!
Trying to browse to http://rt3.system.com/ results in a
404 error. Browsing to http://rt3.system.com/index.html works perfectly.
Put this in RT’s virtualhost section in your httpd.conf:
RedirectMatch permanent (.*)/$ $1/index.html
This directive is much better than Rewrite as suggested on README
file (mod_rewrite is too powerfull for doing just this :).On Thu, 29 Apr 2004, Paul Wagland wrote:
I don’t claim to be the expert on why it is doing this, but we have
also had the same problem. This is the workaround that we use:
<Location /rt3>
[… blah blah blah…]
RedirectMatch permanent ^(.*)/$ $1/index.html
For the record, this specific solution (Location) applyes to
people who does not have rt has a virtual host…
Would be nice to have a configuration example of apache for this
case (not virtualhost) on README.
Paulo Matos
|Sys & Net Admin | Servi�o de Inform�tica |
|Faculdade de Ci�ncias e Tecnologia | Tel: +351-21-2948596 |
|Universidade Nova de Lisboa | Fax: +351-21-2948548 |
|P-2829-516 Caparica | e-Mail: pjsm@fct.unl.pt |
Hi,
please note that this “broke” the ticket search on my installation.On Search (typed into the top right corner input field), a ?id=345 gets appended. Now I get to see a page stating the following, with a link to the correct URL : OK The document has moved here. Ralf. Autrijus Tang wrote:
On Thu, Apr 29, 2004 at 09:14:04AM +0100, Dermot Williams wrote:
Trying to browse to http://rt3.system.com/ results in a
404 error. Browsing to http://rt3.system.com/index.html works perfectly.
Put this in RT’s virtualhost section in your httpd.conf:
RedirectMatch permanent (.*)/$ $1/index.html
Thanks,
/Autrijus/
The rt-users Archives
RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html
Sign up early, as class space is limited.