“~"有什么用网址中的波浪号? [英] what is the use of "~" tilde in url?

查看:49
本文介绍了“~"有什么用网址中的波浪号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. URL 中的 ~ 波浪号有什么用?

  1. what is the use of ~ tilde in URL?

我正在使用 cPanel,并且有包含波浪号的链接,为什么那里有波浪号?

I am using cPanel, and have link including tilde, why is tilde there?

当我们购买服务器空间但没有dns或者不想用于开发目的时,我们使用类似http://serverip/~foldername.

When we buy server space but do not have dns or don't want to use it for development purposes,we use the like http://serverip/~foldername.

推荐答案

实际上波浪号 '~' 代表主目录.当您在 url 中放置波浪号时,它将从主目录访问

Actually tilde '~' represents home directory. When you place tilde in url, It will access from home directory

这篇关于“~"有什么用网址中的波浪号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆