possebon

OTOBO Original Apache conf

Oct 17th, 2021
989
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # --
  2. # Copyright (C) 2019-2021 Rother OSS GmbH, https://otobo.de/
  3. # added for OTOBO (http://otobo.de/)
  4. # --
  5.  
  6. ScriptAlias /otobo/ "/opt/otobo/bin/cgi-bin/"
  7. Alias /otobo-web/ "/opt/otobo/var/httpd/htdocs/"
  8.  
  9. <IfModule mod_perl.c>
  10.  
  11. # Use a dedicated Perl interpreter for the current virtual host, usually the default virtual host
  12. PerlOptions +Parent
  13.  
  14. # Setup environment and preload modules
  15. Perlrequire /opt/otobo/scripts/apache2-perl-startup.pl
  16.  
  17. # Reload Perl modules when changed on disk
  18. PerlModule Apache2::Reload
  19. PerlInitHandler Apache2::Reload
  20.  
  21. # general mod_perl2 options
  22. <Location /otobo>
  23. # ErrorDocument 403 /otobo/customer.pl
  24. ErrorDocument 403 /otobo/index.pl
  25. SetHandler perl-script
  26. PerlResponseHandler ModPerl::Registry
  27. Options +ExecCGI
  28. PerlOptions +ParseHeaders
  29. PerlOptions +SetupEnv
RAW Paste Data