OTRS Apache Configuration

Moderator: crythias

Post Reply
Uzuki
Znuny newbie
Posts: 2
Joined: 02 Jun 2010, 06:15
Znuny Version: 2.4.7

OTRS Apache Configuration

Post by Uzuki »

Hi,

I am having difficulty with apache configuration for otrs. I'm using the apache2-http-new.conf. My conf :

Code: Select all

ScriptAlias /otrs/ "/srv/httpd/htdocs/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/srv/httpd/htdocs/otrs/var/httpd/htdocs/"

# if mod_perl is used
<IfModule mod_perl.so>

    # load all otrs modules
    Perlrequire /srv/httpd/htdocs/otrs/scripts/apache2-perl-startup.pl

    # Apache::Reload - Reload Perl Modules when Changed on Disk
    PerlModule Apache2::Reload
    PerlInitHandler Apache2::Reload
    PerlModule Apache2::RequestRec

     <Location /otrs/>
#        ErrorDocument 403 /otrs/customer.pl
        ErrorDocument 403 /otrs/index.pl
        SetHandler  perl-script
        PerlResponseHandler ModPerl::Registry
        Options +ExecCGI
        PerlOptions +ParseHeaders
        PerlOptions +SetupEnv
        Order allow,deny
        Allow from all
    </Location>

</IfModule>

<Directory "/srv/httpd/htdocs/otrs/bin/cgi-bin">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
<Directory "/srv/httpd/htdocs/otrs/var/httpd/htdocs">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

MaxRequestsPerChild 400
I got the error message

Code: Select all

Forbidden

You don't have permission to access /otrs/ on this server.
Is there something i miss?
Uzuki
Znuny newbie
Posts: 2
Joined: 02 Jun 2010, 06:15
Znuny Version: 2.4.7

Re: OTRS Apache Configuration

Post by Uzuki »

Solved...
change ScriptAlias => Alias
Post Reply