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

    www server.conf<port-number>

    Description

    Is it possible to have the system use an $alephe_root/www_server.conf.nnnn  (rather than the plain www_server.conf)  -- where the "nnnn" suffix is the number of the port the www_server is being started on?

    Resolution

    Yes. The $aleph_proc/www_server.conf has the following lines which check for that:

            source $alephe_root/www_server.conf

            switch ($#argv)
            case 3:
                    if (-f $alephe_root/www_server.conf.$1) then
                        source $alephe_root/www_server.conf.$1
                    endif
                    set LOG = " "
                    if ($3 == stdout) then
                       goto usage
                    endif
                    setenv WWW_NUM_SERVERS "$3"
                    breaksw
            case 4:
                    if (-f $alephe_root/www_server.conf.$1) then
                        source $alephe_root/www_server.conf.$1
                    endif
                    set LOG = "$4"
                    setenv WWW_NUM_SERVERS "$3"
                    breaksw

     

    //Feedback