What is the absolute path of a virtual host?

Source: Internet
Author: User
Keywords Virtual host virtual host absolute path

Absolute path

Your http://www.aliyun.com/zixun/aggregation/14840.html "> virtual host is stored in the server's D-disk directory, such as your FTP username is ABC. Then the absolute path of your space is "D:WEBABC", so, for example, you put the file in your space web directory, then the absolute path of the file is "D:webabcweb", in the case of you if you put the file in the Databases folder, then the absolute path of the file is "D:webabcdatabases"

What is a relative path?

The relative path is mainly used on our website, when ASP is publishing a directory, if d:/web/test/test.htm file on the Web, this file needs to call d:/web/images/ Logo.gif picture, then test.htm in the picture path how to write it, that will use. /images/logo.gif ". /"to represent the previous level of the directory,". /.. /"represents a parent directory, and so on. This is the relative path, so try to avoid using the absolute path in the program to use the relative path, so that no file can be found after uploading to the server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.