Skip to content

Instantly share code, notes, and snippets.

@andpupilo0182
Created February 26, 2019 03:10
Show Gist options
  • Save andpupilo0182/9f071f37d4855f83b1f78bbeccb7c092 to your computer and use it in GitHub Desktop.
Save andpupilo0182/9f071f37d4855f83b1f78bbeccb7c092 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin admin@empresa_xpto.com.br
ServerName chamado.empresa.com.br
ErrorLog logs/chamado-error_log
CustomLog logs/chamado-access_log common
DocumentRoot /opt/otrs/bin/cgi-bin/
<Location />
ErrorDocument 403 /customer.pl
DirectoryIndex customer.pl
AddHandler perl-script .pl .cgi
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment