Server Paths Print

  • 22

Path to directory: /var/www/vhosts/
HTML directory: /var/www/vhosts/
CGI directory: /var/www/vhosts/

The server paths may be necessary for CGI scripts and other similar programs, you won’t need them for regular web page
uploading. When making FTP connections to upload/download files, you will be placed in the " "
portion of the site; it will not show you the preceding directories. Certain CGI scripts need to know the entire path to the
directory they are stored in. For example, if you have a CGI program named my-program.cgi, this script may need to have a variable set to tell it what directory it is running in. If it was uploaded via FTP and placed in the directory, it’s actual path would be
/var/www/vhosts/” so that is what you would set in the file.

Was this answer helpful?

« Back