我有一个运行wordpress的托管域(http:// xxxxxxxx.net)和一个用于存储文件的云服务器
我从云服务器获得了直接文件url (http:// xxxxx.com/uplaod/123/123.mp4)
如何使它文件url只能在我的域(http:// xxxxxxxx.net)播放视频。
我试试看这个
# ALLOW USER BY IP
<Limit GET POST>
order deny,allow
deny from all
allow from xxxxxxxxx.net
</Limit>
当我访问这个网址时
http:// xxxx
我正在使用Azure Postgresql数据库,并使用Cloud运行psql脚本,没有问题。我现在正试图通过shp2pgsql命令加载一些shp文件。云外壳的响应如下:
bash: shp2pgsql: command not found
是否有可能在Cloud中使用shp2pgsql,或者我遗漏了什么?我已经成功地在Postgresql服务器上创建了postgis扩展。
我用bitnami创建了Google虚拟机实例,以启动PHP、MySQL和apache。
我已经允许防火墙在8086端口谷歌云平台。
我创建了两个文件:
server.php,这是
- stored in google cloud
- create server socket on port 8086
- run using SSH with PHP-CLI
- socket is binding and listening to port 8086 successfully
client.php,这是
- stored in my local PC
-