[ Table Of Contents | Keyword Index ]

ns_modulepath(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_modulepath - Get the paths to a server's modules

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    EXAMPLES

SYNOPSIS

ns_modulepath server ?module ...?

DESCRIPTION

This command returns the path to a server's directory and optionally to its modules. The command does no validation on the server to see if it is actually defined. The server directory is a subdirectory of "servers" under the path returned from ns_info home. Modules are relative to that directory in the subdirectory "modules".

COMMANDS

ns_modulepath server ?module ...?

EXAMPLES

 
   % ns_modulepath exampleServer
   /home/ns/servers/exampleServer

 
   % file join