Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    OPAC: Redirect Classic WebVoyage Persistent Links to Tomcat WebVoyage

    Created By: Jackie Wrosch
    Created on: 5/14/2019

    [This article was copied from the Voyager Wiki.]

    The following will redirect Classic WebVoyage BBID links to the Tomcat WebVoyage equivalent.

    1. If you don't already have it, create a top-level cgi-bin directory. In our setup, we added it at


    You may also have to add this to in your apache configuration files. For example,

    ScriptAlias /cgi-bin/ /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/cgi-bin/

    2. Create a file called Pwebrecon.cgi in the cgi-bin directory. In the file, put the following (replacing servername with your opac server name)

    my $bibId;
    @pairs = split(/&/, $ENV{'QUERY_STRING'});
    foreach $pair (@pairs) {   
       ($name, $value) = split(/=/, $pair);   
       if ( $name =~ 'BBID' ) {       
    if ( $bibId ) {   
       print "Location: http://servername/vwebv/holdingsInfo?bibId=$bibId \n\n";
    else {   
       print "Location: http://servername \n\n";

    • Was this article helpful?