possebon

Changes on zzz_support_otobo.conf

Oct 17th, 2021
1,075
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2. # Please change here the otobo admin mail address
  3. ServerAdmin youremail@yourdomain.com
  4.  
  5. # Please change here the FQDN or hostname, you like to use with OTOBO
  6. ServerName support.yourdomain.com
  7.  
  8. # Please change here and add more different FQDN´s or hostnames, you like to use with OTOBO
  9. ServerName support.yourdomain.com
  10. DocumentRoot /opt/otobo/var/httpd/htdocs
  11. HostnameLookups Off
  12. UseCanonicalName Off
  13. ServerSignature Off
  14.  
  15. Alias /otobo-web/ "/opt/otobo/var/httpd/htdocs/"
  16. ScriptAlias / "/opt/otobo/bin/cgi-bin/"
  17.  
  18.  
  19. <IfModule mod_perl.c>
  20.  
  21. # Setup environment and preload modules
  22. PerlOptions +Parent
  23. Perlrequire /opt/otobo/scripts/apache2-perl-startup.pl
  24.  
  25. # Reload Perl modules when changed on disk
  26. PerlModule Apache2::Reload
  27. PerlInitHandler Apache2::Reload
  28.  
  29. # general mod_perl2 options
  30. <Location />
  31. DirectoryIndex customer.pl
  32. AddHandler perl-script .pl .cgi
  33. ErrorDocument 403 /otobo/customer.pl
  34. #ErrorDocument 403 /otobo/index.pl
  35. #SetHandler perl-script
  36. PerlResponseHandler ModPerl::Registry
  37. Options +ExecCGI
  38. PerlOptions +ParseHeaders
  39. PerlOptions +SetupEnv
  40.  
RAW Paste Data