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
ServerAdmin it@yourdomain.com
ServerName otrs.yourdomain.com
ServerAlias otrs
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
DocumentRoot /opt/otrs/var/httpd/htdocs/
ServerSignature On
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlSetupEnv On
Options +ExecCGI
</Location>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
RedirectMatch ^/$ http://otrs.caymas.com/otrs/customer.pl
RedirectMatch ^/agent$ http://otrs.caymas.com/otrs/index.pl
RedirectMatch ^/agent/$ http://otrs.caymas.com/otrs/index.pl
</Directory>
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"
Cool and handy! ==>> http://www.spamgourmet.com