Hi i tried to configure OTRS to access only the sub-domain name http://mi.domino.com've done these steps
First
OTRS Config settings:
Framework -> Core -> ScriptAlias needs to be blank.
$Self->{ScriptAlias} = '';
Apache otrs.conf changes in /etc/apache2/conf.d/otrs.conf leave it that way:
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
Alias / "/opt/otrs/bin/cgi-bin/"
Notice that Alias and ScriptAlias order has changed with Alias now on top, and ScriptAlias became Alias.
Location section below is no longer needed, because it will break all CSS and jQuery, so you can just comment the whole thing out
# <Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
# ErrorDocument 403 /otrs/index.pl
# DirectoryIndex index.pl
# SetHandler perl-script
# PerlResponseHandler ModPerl::Registry
# Options +ExecCGI
# PerlOptions +ParseHeaders
# PerlOptions +SetupEnv
# Order allow,deny
# Allow from all
# </Location>
Commenting out <Location> directive will disable mod_perl, so to re-enable it we need to copy needed directives into the <Directory /opt/otrs/bin/cgi-bin/> section and change SetHandler to AddHandler.
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
#
# Below is what we copied from the <Location> section
#
ErrorDocument 403 /index.pl
DirectoryIndex index.pl
AddHandler perl-script .pl .cgi <----- change ScriptHandler setting here.
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
</Directory>
Change DocumentRoot in your virtual host config (NOT otrs.conf) in /etc/apache2/sites-available/default to
DocumentRoot /opt/otrs/bin/cgi-bin/
Restart apache but going to http://mi.dominio.com the page not loading right, the letters appear but not the icon and the background please any help because I think I'm missing little to do.
OTRS the page not loading right
Moderator: crythias