I need to set up 2 instances of OTRS on the same box (as the same user) in different directories. I got the web interface to work fine by using 2 different ScriptAlias lines.
E.g. ScriptAlias /otrstest /home/otrs/test ScriptAlias /otrslive /home/otrs/live However all the email notifications always had the same path "......./otrs/index.pl.....". The following diff to Notification.pm makes the emailed links use a new Self->{ScriptAlias} which can be set up in Config.pm This is against very recent CVS version. -- Phil Davis IT Action *** Notification.pm Thu Oct 10 18:07:15 2002 --- /home/otrs/src/otrs/Kernel/Config/Notification.pm Sat Oct 5 17:10:21 2002 *************** *** 46,52 **** <OTRS_CUSTOMER_EMAIL[16]> <snip> ! http://$Self->{FQDN}/$Self->{ScriptAlias}/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master --- 46,52 ---- <OTRS_CUSTOMER_EMAIL[16]> <snip> ! http://$Self->{FQDN}/otrs/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master *************** *** 74,80 **** <OTRS_CUSTOMER_EMAIL[16]> <snip> ! http://$Self->{FQDN}/$Self->{ScriptAlias}/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master --- 74,80 ---- <OTRS_CUSTOMER_EMAIL[16]> <snip> ! http://$Self->{FQDN}/otrs/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master *************** *** 95,101 **** <OTRS_CUSTOMER_EMAIL[8]> <snip> ! http://$Self->{FQDN}/$Self->{ScriptAlias}/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master --- 95,101 ---- <OTRS_CUSTOMER_EMAIL[8]> <snip> ! http://$Self->{FQDN}/otrs/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master *************** *** 115,121 **** Comment: <OTRS_COMMENT> ! http://$Self->{FQDN}/$Self->{ScriptAlias}/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master --- 115,121 ---- Comment: <OTRS_COMMENT> ! http://$Self->{FQDN}/otrs/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master *************** *** 133,139 **** Note: <OTRS_CUSTOMER_BODY> ! http://$Self->{FQDN}/$Self->{ScriptAlias}/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master --- 133,139 ---- Note: <OTRS_CUSTOMER_BODY> ! http://$Self->{FQDN}/otrs/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master *************** *** 149,155 **** '<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>' moved a ticket [<OTRS_TICKET_NUMBER>] into '<OTRS_CUSTOMER_QUEUE>'. ! http://$Self->{FQDN}/$Self->{ScriptAlias}/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master --- 149,155 ---- '<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>' moved a ticket [<OTRS_TICKET_NUMBER>] into '<OTRS_CUSTOMER_QUEUE>'. ! http://$Self->{FQDN}/otrs/index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID> Your OTRS Notification Master *** Config.pm Thu Oct 10 18:45:35 2002 --- Config.pm.orig Thu Oct 10 18:44:24 2002 *************** *** 52,62 **** # (Full qualified domain name of your system.) $Self->{FQDN} = 'yourhost.example.com'; - # ScriptAlias - # Prefix to index.pl used as ScriptAlias in web config - # (Used when emailing links to agents). - $Self->{ScriptAlias} = 'otrs'; - # AdminEmail # (Email of the system admin.) $Self->{AdminEmail} = '[EMAIL PROTECTED]'; _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs