"Attempt to serve directory" error, RT3 on Apache 2.0.44

I’m attempting to install RT 3.0.0 under Apache 2.0.44 with mod_perl 1.99_08.
Everything seems to be functioning, except directory indexes within the
RT heirarchy. If I try to go to the virtual host URL, the web browser

 Not Found

 The requested URL / was not found on this server.

and the Apache error log has:

 [Wed Mar 26 15:56:22 2003] [error] [client] Attempt to
 serve directory: /local/sol/2.6/depot/rt-3.0.0/share/html/

If I append “index.html” to the base URL, RT works fine; I can create
and view tickets and use most of the interface elements. But any of
the interface elements which refer to a directory (like “Approval” on the
front page) give the same error.

The relevant section of my Apache configuration is:

ServerName lscr.ls.berkeley.edu
DocumentRoot /local/sol/2.6/depot/rt-3.0.0/share/html
AddDefaultCharset UTF-8

PerlModule Apache2 Apache::compat

PerlModule Apache::DBI
PerlRequire /local/sol/2.6/depot/rt-3.0.0/bin/webmux.pl

Options +Indexes SetHandler perl-script PerlHandler RT::Mason

[the “Options” bit I just threw in there to see if that might be the

Any ideas what might be the problem? This all is pretty much right out
of the installation instructions.

Tom Holub (tom_holub@LS.Berkeley.EDU, 510-642-9069)
College of Letters & Science
249 Campbell Hall

I have exactly the same problem… it only works if you retype the URL
adding index.html

I’m trying RT3 with Apache 2.0.44 and FastCGI.

I will try again with a RewriteRule, hope it gets fixed.

Ruben Olague

On Thu, Mar 27, 2003 at 11:02:42AM -0800, gods heard Tom Holub mumbling:

The advice I got yesterday worked; add the following to the virtual host:

<FilesMatch “.html$”>
SetHandler perl-script
PerlHandler RT::Mason

<LocationMatch “/Attachment/”>
SetHandler perl-script
PerlHandler RT::Mason

<LocationMatch “/rt3/”>
SetHandler perl-script
PerlHandler RT::Mason

Thanks for your answer Tom,
I tried your solution but it didn’t worked for me…
A simple RewriteRule helped me finally:

RewriteRule (.*)/$ $1/index.html [R]


Ruben Olague

Ing. Ruben Olague Hdz. – NOC/Systems Manager – Podernet, S.A. de C.V.
ruben@podernet.com – +52 (55) 5257 0730 – http://www.podernet.com.mx
KeyID:0x0B549DDD FP:73CE A803 F947 CE58 A559 1F9D 4290 7B46 0B54 9DDD
: “How do you tell when you run out of invisible ink?”