
Forgive me if this info is out there, but... I'd like to have OTRS server up directly by my web server. For instance, I'd like to go to http://otrs.mydomain.com and have the login right there. However my machinations with apache2 virtual host definitions have just not accomplished what I am trying to do. If anyone has an example virtual host def for apache 2 would you be willing to share it? System info is as follow... SuSE 9.3 Apache 2 OTRS 2.0.1 Thanks, Zeke -- mailto:jdehnert@caymas.com James "Zeke" Dehnert Phone: 707 283 5042 Fax: 707 283 5001 -= Eschew Obfuscation =- "Life is racing, everything else is just waiting" Python Cool > http://www.style.org/unladenswallow

Hi!
I'd like to have OTRS server up directly by my web server. For instance, I'd like to go to
and have the login right there. However my machinations with apache2 virtual host definitions have just not accomplished what I am trying to do.
This is what I'm using. All this is included from a file in "sites-available" directory, and allows me to access OTRS customer interface from http://soporte.valmesa.net. As it uses a regexp I can only redirect that subdomain to one interface, so to get access to the agent interface I need to use a direct URL (http://soporte.valmesa.net/otrs/index.pl).
If anyone has an example virtual host def for apache 2 would you be willing to share it?
[Begin config]
Perlrequire /usr/share/otrs/otrs-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk
#PerlModule Apache::Reload
#PerlInitHandler Apache::Reload
#Alias /htmlArea/ /usr/share/otrs/var/httpd/htdocs/htmlArea/
NameVirtualHost soporte.valmesa.net
<VirtualHost soporte.valmesa.net>
Alias /otrs-web/ "/usr/share/otrs/var/httpd/htdocs/"
ScriptAlias /otrs/ "/usr/share/otrs/bin/cgi-bin/"
DocumentRoot /usr/share/otrs/var/httpd/htdocs/
ServerSignature On
System info is as follow...
SuSE 9.3 Apache 2 OTRS 2.0.1
This is for v1.3.2 and it uses mod_perl2... I'm installing v2.0.1 in a test environment right now ;) I plan to use two different subdomains for each interface, so a similar config would be needed for each one.
Thanks,
Bye!
Zeke
-- mailto:jdehnert@caymas.com James "Zeke" Dehnert Phone: 707 283 5042 Fax: 707 283 5001 -= Eschew Obfuscation =- "Life is racing, everything else is just waiting" Python Cool > http://www.style.org/unladenswallow
--- Victor R. Rodriguez Departamento de Sistemas Valoraciones del Mediterraneo, S.A. ---

Many thanks to Victor for pointing me in the right direction. His
version of the virtual host conf file was a bit too aggressive for my
server, as I have a few other virtual hosts on there and his config
grabbed all the traffic.
It was, however, all the info I needed to hammer this into my system,
so I have decided to pass this along for anyone else who may be
trying to do this with OTRS 2.
The redirects (for those who don't know) force all default traffic to
the Customer login, while anything with 'agent' in the string (I just
add agent to the end) gets redirected to the Admin login screen.
Muchos Gracias Victor.
NameVirtualHost otrs.yourdomain.com
participants (2)
-
Dehnert James Sr
-
Victor Rodriguez Cortes