But when I run localhost/otrs I got:
This software runs with a huge lists of browsers, please upgrade to one of these.
I look in Chrome DevTools and I see :
Code: Select all
TranslationJS_fr_5ee242978f8007fc85967ce3d3abeb04.js:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
jquery-ui.css:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
font-awesome.min.css:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
CommonJS_4907b8e2351888149d798c4f34b41814.js:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
ads.js:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
CommonCSS_956739b80817e64f9f5b44e7dc146522.css:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
Could you help please?
this is my conf (I have to keep it in vhost and ibill.otrs <=> localhost)
Code: Select all
<VirtualHost ibill.otrs:80>
ServerName ibill.otrs
ScriptAlias "/otrs/" "/opt/otrs/bin/cgi-bin/"
Alias "/otrs-web/" "/opt/otrs/var/httpd/htdocs/"
# if mod_perl is used
<IfModule mod_perl.c>
# load all otrs modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
# set mod_perl2 options
<Location "/otrs/">
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Require all granted
</Location>
# set mod_perl2 option for generic interface
<Location /otrs/nph-genericinterface.pl>
PerlOptions -ParseHeaders
</Location>
</IfModule>
# directory settings
<Directory "/otrs/">
AllowOverride None
Options +ExecCGI -Includes
Require all granted
ErrorDocument 403 /index.pl
DirectoryIndex customer.pl
AddHandler perl-script .pl .cgi
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
</Directory>
<Directory "/otrs-web/">
AllowOverride None
Require all granted
<IfModule mod_version.c>
Require all granted
</IfModule>
<IfModule !mod_version.c>
Require all granted
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/javascript text/css text/xml application/json text/json
</IfModule>
# Make sure CSS and JS files are read as UTF8 by the browsers.
AddCharset UTF-8 .css
AddCharset UTF-8 .js
# Set explicit mime type for woff fonts since it is relatively new and apache may not know about it.
AddType application/font-woff .woff
</Directory>
<IfModule mod_headers.c>
# Cache css-cache for 30 days
<Directory "/otrs-web/skins/*/*/css-cache">
<FilesMatch "\.(css|CSS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
# Cache css thirdparty for 4 hours, including icon fonts
<Directory "/otrs-web/skins/*/*/css/thirdparty">
<FilesMatch "\.(css|CSS|woff|svg)$">
Header set Cache-Control "max-age=14400 must-revalidate"
</FilesMatch>
</Directory>
# Cache js-cache for 30 days
<Directory "/otrs-web/js/js-cache">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>
# Cache js thirdparty for 4 hours
<Directory "/otrs-web/js/thirdparty/">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=14400 must-revalidate"
</FilesMatch>
</Directory>
</IfModule>
</VirtualHost>