<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Hello Max, <BR>
<BR>
I have tried the config you gave below but in vain. The problem persists. This is what Apache's error log shows:<BR>
<BR>
Directory index forbidden by rule: /opt/rt3/share/html/ <BR>
<BR>
I need to resolve this quickly and am not able to find any solution. Pls help.<BR>
<BR>
Regards,<BR>
Ritu<BR>
On Tue, 2003-12-09 at 16:47, Max Bowsher wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Ritu Khetan wrote:
>> Hello all,
>>
>> I am trying to configure Apache for RT with the following VirtualHost
>> entry:
>>
>> <VirtualHost *:5000>
>> ServerName 192.168.2.60
>> DocumentRoot /opt/rt3/share/html
>> ErrorLog logs/rt-error.log
>> AddDefaultCharset UTF-8
>> PerlModule Apache::DBI
>> PerlRequire /opt/rt3/bin/webmux.pl
>>
>> <Location />
>> SetHandler perl-script
>> PerlHandler RT::Mason
>> </Location>
>> </VirtualHost>
>>
>> Further I also have, DirectoryIndex index.html enabled. But yet, I am
>> not able to access RT front end without specifying index.html in the
>> URL.
>>
>> I am using Apache 2.0.8. Any help on DirectoryIndex would be of great
>> help.
DirectoryIndex doesn't seem to function in SetHandler perl-script
directories.
I don't know enough about Apache internals to know if there is a more
elegant solution, but this is what I am using:
<Directory /opt/rt3/share/html>
<Files *.html>
SetHandler perl-script
PerlHandler RT::Mason
</Files>
</Directory>
<Directory /opt/rt3/share/html/Ticket/Attachment>
SetHandler perl-script
PerlHandler RT::Mason
</Directory>
<Directory /opt/rt3/share/html/SelfService/Attachment>
SetHandler perl-script
PerlHandler RT::Mason
</Directory>
<Directory /opt/rt3/share/html/REST>
SetHandler perl-script
PerlHandler RT::Mason
</Directory>
Max.
</I></FONT></PRE>
</BLOCKQUOTE>
<p>
<pre>
----------------------------------------------------------------
NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134
MailServ and FlexiMail: Messaging Solutions: <a href="http://netcore.co.in">http://netcore.co.in</a>
Pragatee: Integrated Server-Software Suite: <a href="http://www.pragatee.com">http://www.pragatee.com</a>
Emergic Freedom: Server-centric Computing: <a href="http://www.emergic.com">http://www.emergic.com</a>
BlogStreet: Blog Profiles and RSS Ecosystem: <a href="http://blogstreet.com">http://blogstreet.com</a>
Deeshaa: Rural Development: <a href="http://www.deeshaa.com">http://www.deeshaa.com</a>
Rajesh Jain's Weblog on Technology: <a href="http://www.emergic.org">http://www.emergic.org</a>
----------------------------------------------------------------
</pre>
</BODY>
</HTML>