Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Stuff
Friday, June 29th, 2007 at 1:18:26am MDT 

  1. With mod_perl (speed!):
  2.   =======================
  3.   Add this to the mod_perl stuff section in httpd.conf
  4.   [...]
  5.   Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
  6.   Alias /otrs/ "/opt/otrs/bin/cgi-bin/"
  7.  
  8.   <Location /otrs>
  9.     SetHandler  perl-script
  10.     PerlHandler Apache::Registry
  11.     Options ExecCGI
  12.     PerlSendHeader On
  13.     PerlSetupEnv On
  14.   </Location>
  15.  
  16.   You may want to use a mod_perl startup script. Compiled modules on startup
  17.   (speed!)! Use the mod_perl startup script which comes with otrs
  18.   (scripts/apache-perl-startup.pl).
  19.  
  20.   - Change the default startup script location of your httpd to
  21.     $OTRS_HOME/scripts/apache-perl-startup.pl in httpd.conf
  22.     [...]
  23.     # load all otrs modules
  24.     Perlrequire /opt/otrs/scripts/apache-perl-startup.pl
  25.     [...]
  26.  
  27.   Edit the scripts/apache-perl-startup.pl script:
  28.  
  29.    - Establish datababase connections on process startup (httpd).
  30.  
  31.      [...]
  32.      use Apache ();
  33.      use Apache::DBI ();
  34.      Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'some-pass');
  35.      # Apache::DBI->connect_on_init($data_source, $username, $auth, \%attr)
  36.      [...]
  37.  
  38.    - Change the otrs lib dir (if needed)!
  39.  
  40.      [...]
  41.      # --
  42.      # set otrs lib path!
  43.      # --
  44.      use lib "/path/to/otrs/";

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation