[rt-users] Configuring Apache for RT

Ritu Khetan ritu at netcore.co.in
Thu Dec 11 04:08:37 EST 2003


Sorry Max, yet no luck. Any other guesses ???????

I do have DirectoryIndex index.html defined in my httpd.conf too.

This is how the complete thing looks like currently:

<LocationMatch "^/$">
    Options -Indexes
    ErrorDocument 403 /error/noindex.html
</LocationMatch>

DirectoryIndex index.html index.html.var

<Directory /opt/rt3/share/html>
        <Files *.html>
        SetHandler perl-script
        PerlHandler RT::Mason
        </Files>

        Order allow,deny
        Allow from all
        Options Indexes
</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>

<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>


Regards,
Ritu


On Wed, 2003-12-10 at 14:36, Max Bowsher wrote:

> 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: http://netcore.co.in
> >
> > Pragatee: Integrated Server-Software Suite: http://www.pragatee.com
> >
> > Emergic Freedom: Server-centric Computing: http://www.emergic.com
> >
> > BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com
> >
> > Deeshaa: Rural Development: http://www.deeshaa.com
> >
> > Rajesh Jain's Weblog on Technology: http://www.emergic.org
> > ----------------------------------------------------------------
> 

----------------------------------------------------------------

NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in

Pragatee: Integrated Server-Software Suite: http://www.pragatee.com

Emergic Freedom: Server-centric Computing: http://www.emergic.com

BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com

Deeshaa: Rural Development: http://www.deeshaa.com

Rajesh Jain's Weblog on Technology: http://www.emergic.org
----------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20031211/761e281e/attachment.htm>


More information about the rt-users mailing list