我正在寻找一个 IIS 解决方案(不是编程)来将网站重定向到网站的移动版本。使用 IIS 重定向或使用 IIS URL Rewrite 2.0 看起来可能但不确定。如果是这种情况,人们会怎么做呢?
示例:mywebsite.com/ 重定向到(如果是移动设备)mywebsite.com/mobile
旁注:我们目前正在使用 IIS 重定向将 http 重定向到 https。
在带有 Ubuntu 12.04 LTS 映像的 Azure 上,我们尝试更改 Postgres 9.3 默认数据和日志文件路径,并在辅助驱动器上首次初始化它们/mnt/pgdata
。我们从 Postgres 9.3 是通过 apt-get 全新安装的那一点开始。
我们已经停止了 postgres: sudo service postgresql stop
。
我们尝试运行 pg_createcluster
下面只显示帮助/手册页。可能是因为它缺少版本和名称参数。
pg_createcluster -d /mnt/pgdata/data -l /mnt/pgdata/log --start-conf auto
即使/mnt/pgdata
.
pg_createcluster 9.3 main -d /mnt/pgdata/data -l /mnt/pgdata/log --start-conf auto
总的来说,我们对 Linux 还很陌生,所以请具体说明您的答案。
此外,我们还有以下问题:
iis-7.5 ×2
asp.net ×1
azure ×1
certificate ×1
postgresql ×1
rewrite ×1
ubuntu-12.04 ×1
website ×1
winhttp ×1