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
Code: Select all
Forbidden
You don't have permission to access /otrs/ on this server.