Changes

From SME Server
Jump to navigationJump to search
1,440 bytes added ,  04:36, 6 September 2007
Line 78: Line 78:     
  ./otrs.checkModules
 
  ./otrs.checkModules
 
+
[root@test bin]# ./otrs.checkModules
+
 
                 CGI ... ok
 
                 CGI ... ok
 
         Date::Pcalc ... ok
 
         Date::Pcalc ... ok
Line 120: Line 120:  
  perl -cw bin/PostMaster.pl
 
  perl -cw bin/PostMaster.pl
 
bin/PostMaster.pl syntax OK
 
bin/PostMaster.pl syntax OK
 +
 +
== Configuring the apache web server ==
 +
 +
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
 +
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 +
 +
pico 89otrs
 +
 +
copy and paste between dotted lines
 +
 +
==========================================================================
 +
 +
#OTRS
 +
 +
Alias /otrs/ "/opt/otrs/bin/cgi-bin/"
 +
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
 +
Alias /otrs/public "/opt/otrs/bin/cgi-bin/"
 +
 +
PerlRequire /opt/otrs/scripts/apache2-perl-startup.pl
 +
 +
PerlModule Apache::Reload
 +
PerlInitHandler Apache::Reload
 +
 +
MaxRequestsPerChild 400
 +
 +
<Location /otrs>
 +
    ErrorDocument 403 /otrs/customer.pl
 +
    ErrorDocument 403 /otrs/index.pl
 +
    AllowOverride All
 +
    SetHandler perl-script
 +
    PerlResponseHandler ModPerl::Registry
 +
    PerlOptions +ParseHeaders
 +
    Options +ExecCGI +FollowSymlinks
 +
</Location>
 +
<Directory "/opt/otrs/bin/cgi-bin/">
 +
            AllowOverride None
 +
            Options +ExecCGI -Includes
 +
            Order allow,deny
 +
            Allow from all
 +
</Directory>
 +
<Directory "/opt/otrs/var/httpd/htdocs/">
 +
          AllowOverride None
 +
          Order allow,deny
 +
          Allow from all
 +
</Directory>
 +
 +
=========================================================================
 +
 +
Save by pressing '''Ctrl x''', '''press y''' to save changes and '''press enter'''
 +
 +
expand-template /etc/httpd/conf/httpd.conf
 +
 +
/etc/rc.d/init.d/httpd-e-smith restart
 +
 +
cd /opt/otrs
 +
 +
sh SetPermissions.sh /opt/otrs www www
          
[[Category:Howto]]
 
[[Category:Howto]]
276

edits

Navigation menu