diff -ruN otrs-2.2.5.orig/Kernel/Config/Defaults.pm otrs-2.2.5/Kernel/Config/Defaults.pm --- otrs-2.2.5.orig/Kernel/Config/Defaults.pm 2008-02-03 21:40:07.000000000 +0100 +++ otrs-2.2.5/Kernel/Config/Defaults.pm 2008-02-03 21:40:39.000000000 +0100 @@ -252,7 +252,7 @@ # $Self->{'LogModule::SysLog::Charset'} = 'utf-8'; # param for LogModule Kernel::System::Log::File (required!) - $Self->{'LogModule::LogFile'} = '/tmp/otrs.log'; + $Self->{'LogModule::LogFile'} = '/var/log/otrs.log'; # param if the date (yyyy-mm) should be added as suffix to # logfile [0|1] @@ -742,7 +742,7 @@ # directories # # --------------------------------------------------- # # root directory - $Self->{'Home'} = '/opt/otrs'; + $Self->{'Home'} = '/usr/share/otrs'; # tmp dir $Self->{'TempDir'} = '/var/tmp'; # html template dir diff -ruN otrs-2.2.5.orig/Kernel/Config.pm.dist otrs-2.2.5/Kernel/Config.pm.dist --- otrs-2.2.5.orig/Kernel/Config.pm.dist 2008-02-03 21:40:07.000000000 +0100 +++ otrs-2.2.5/Kernel/Config.pm.dist 2008-02-03 21:41:00.000000000 +0100 @@ -59,7 +59,7 @@ # ---------------------------------------------------- # # fs root directory # ---------------------------------------------------- # - $Self->{Home} = '/opt/otrs'; + $Self->{Home} = '/usr/share/otrs'; # ---------------------------------------------------- # # insert your own config settings "here" # diff -ruN otrs-2.2.5.orig/scripts/apache2-httpd.include.conf otrs-2.2.5/scripts/apache2-httpd.include.conf --- otrs-2.2.5.orig/scripts/apache2-httpd.include.conf 2008-02-03 21:40:07.000000000 +0100 +++ otrs-2.2.5/scripts/apache2-httpd.include.conf 2008-02-03 21:44:40.000000000 +0100 @@ -4,20 +4,20 @@ # -- # agent, admin and customer frontend -ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" -Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" +ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" +Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/" # if mod_perl is used # load all otrs modules - Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl + Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl # Apache::Reload - Reload Perl Modules when Changed on Disk PerlModule Apache::Reload PerlInitHandler Apache::Reload - # set mod_perl2 options + # set mod_perl2 usr/shareions # ErrorDocument 403 /otrs/customer.pl AllowOverride None @@ -33,13 +33,13 @@ # directory settings - + AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all - + AllowOverride None Order allow,deny Allow from all diff -ruN otrs-2.2.5.orig/scripts/apache2-httpd-new.include.conf otrs-2.2.5/scripts/apache2-httpd-new.include.conf --- otrs-2.2.5.orig/scripts/apache2-httpd-new.include.conf 2008-02-03 21:40:07.000000000 +0100 +++ otrs-2.2.5/scripts/apache2-httpd-new.include.conf 2008-02-03 21:45:48.000000000 +0100 @@ -4,21 +4,21 @@ # -- # agent, admin and customer frontend -ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" -Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" +ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" +Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/" # if mod_perl is used # load all otrs modules - Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl + Perlrequire /usr/share/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 + # set mod_perl2 usr/shareions # ErrorDocument 403 /otrs/customer.pl ErrorDocument 403 /otrs/index.pl @@ -34,13 +34,13 @@ # directory settings - + AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all - + AllowOverride None Order allow,deny Allow from all diff -ruN otrs-2.2.5.orig/scripts/apache2-perl-startup.pl otrs-2.2.5/scripts/apache2-perl-startup.pl --- otrs-2.2.5.orig/scripts/apache2-perl-startup.pl 2008-02-03 21:40:07.000000000 +0100 +++ otrs-2.2.5/scripts/apache2-perl-startup.pl 2008-02-03 21:45:17.000000000 +0100 @@ -7,8 +7,8 @@ $ENV{MOD_PERL} =~ /mod_perl/ or die "MOD_PERL not used!"; # set otrs lib path! -use lib "/opt/otrs/"; -use lib "/opt/otrs/Kernel/cpan-lib"; +use lib "/usr/share/otrs/"; +use lib "/usr/share/otrs/Kernel/cpan-lib"; # pull in things we will use in most requests so it is read and compiled # exactly once diff -ruN otrs-2.2.5.orig/scripts/apache-httpd.include.conf otrs-2.2.5/scripts/apache-httpd.include.conf --- otrs-2.2.5.orig/scripts/apache-httpd.include.conf 2008-02-03 21:40:07.000000000 +0100 +++ otrs-2.2.5/scripts/apache-httpd.include.conf 2008-02-03 21:42:27.000000000 +0100 @@ -4,14 +4,14 @@ # -- # agent, admin and customer frontend (mod_alias required!) -ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" -Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" +ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/" +Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/" # if mod_perl is used # load all otrs modules (speed improvement!) -# Perlrequire /opt/otrs/scripts/apache-perl-startup.pl +# Perlrequire /usr/share/otrs/scripts/apache-perl-startup.pl # Apache::StatINC - Reload %INC files when updated on disk # (just use it for testing, setup, ... not for high productiv systems) diff -ruN otrs-2.2.5.orig/scripts/apache-perl-startup.pl otrs-2.2.5/scripts/apache-perl-startup.pl --- otrs-2.2.5.orig/scripts/apache-perl-startup.pl 2008-02-03 21:40:07.000000000 +0100 +++ otrs-2.2.5/scripts/apache-perl-startup.pl 2008-02-03 21:42:56.000000000 +0100 @@ -5,8 +5,8 @@ $ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!"; # set otrs lib path! -use lib "/opt/otrs/"; -use lib "/opt/otrs/Kernel/cpan-lib"; +use lib "/usr/share/otrs/"; +use lib "/usr/share/otrs/Kernel/cpan-lib"; use Apache::Registry (); # for things in the "/programs" URL