Sun Java System Web Server 6.1 SP9 Programmer's Guide

ProcedureTo create a cgi-bin directory for the virtual server

  1. Log in as the superuser.

    su

  2. Change to the virtual server directory.

    cd vs_dir

  3. Create the cgi-bin directory.

    mkdir cgi-bin

    chown user:group cgi-bin

    chmod 755 cgi-bin

    Now you can set the virtual server’s CGI directory, user, and group in one of these ways: