<!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>
Sorry Max, yet no luck. Any other guesses ???????<BR>
<BR>
I do have DirectoryIndex index.html defined in my httpd.conf too.<BR>
<BR>
This is how the complete thing looks like currently:<BR>
<BR>
<LocationMatch "^/$"><BR>
Options -Indexes<BR>
ErrorDocument 403 /error/noindex.html<BR>
</LocationMatch><BR>
<BR>
DirectoryIndex index.html index.html.var<BR>
<BR>
<Directory /opt/rt3/share/html><BR>
<Files *.html><BR>
SetHandler perl-script<BR>
PerlHandler RT::Mason<BR>
</Files><BR>
<BR>
Order allow,deny<BR>
Allow from all<BR>
Options Indexes<BR>
</Directory><BR>
<BR>
<Directory /opt/rt3/share/html/Ticket/Attachment><BR>
SetHandler perl-script<BR>
PerlHandler RT::Mason<BR>
</Directory><BR>
<BR>
<Directory /opt/rt3/share/html/SelfService/Attachment><BR>
SetHandler perl-script<BR>
PerlHandler RT::Mason<BR>
</Directory><BR>
<BR>
<Directory /opt/rt3/share/html/REST><BR>
SetHandler perl-script<BR>
PerlHandler RT::Mason<BR>
</Directory><BR>
<BR>
<VirtualHost *:5000><BR>
ServerName 192.168.2.60<BR>
DocumentRoot /opt/rt3/share/html<BR>
ErrorLog logs/rt-error.log<BR>
AddDefaultCharset UTF-8<BR>
PerlModule Apache::DBI<BR>
PerlRequire /opt/rt3/bin/webmux.pl<BR>
<BR>
<BR>
<BR>
<Location /><BR>
SetHandler perl-script<BR>
PerlHandler RT::Mason<BR>
</Location><BR>
</VirtualHost><BR>
<BR>
<BR>
Regards,<BR>
Ritu<BR>
<BR>
<BR>
On Wed, 2003-12-10 at 14:36, Max Bowsher wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Ritu Khetan wrote:
> Hello Max,
>
> I have tried the config you gave below but in vain. The problem
> persists. This is what Apache's error log shows:
>
> Directory index forbidden by rule: /opt/rt3/share/html/
Add:
Order allow,deny
Allow from all
Options Indexes
to your <Directory /opt/rt3/share/html>...</Directory> block.
Max.
> I need to resolve this quickly and am not able to find any solution. Pls
> help.
>
> Regards,
> Ritu
> On Tue, 2003-12-09 at 16:47, Max Bowsher wrote:
>
>> 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.
>>
>
> ----------------------------------------------------------------
>
> NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134
>
> MailServ and FlexiMail: Messaging Solutions: </FONT><A HREF="http://netcore.co.in"><U>http://netcore.co.in</U></A>
<FONT COLOR="#737373">>
> Pragatee: Integrated Server-Software Suite: </FONT><A HREF="http://www.pragatee.com"><U>http://www.pragatee.com</U></A>
<FONT COLOR="#737373">>
> Emergic Freedom: Server-centric Computing: </FONT><A HREF="http://www.emergic.com"><U>http://www.emergic.com</U></A>
<FONT COLOR="#737373">>
> BlogStreet: Blog Profiles and RSS Ecosystem: </FONT><A HREF="http://blogstreet.com"><U>http://blogstreet.com</U></A>
<FONT COLOR="#737373">>
> Deeshaa: Rural Development: </FONT><A HREF="http://www.deeshaa.com"><U>http://www.deeshaa.com</U></A>
<FONT COLOR="#737373">>
> Rajesh Jain's Weblog on Technology: </FONT><A HREF="http://www.emergic.org"><U>http://www.emergic.org</U></A>
<FONT COLOR="#737373">> ----------------------------------------------------------------
</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>