donqh00404 2016-01-07 22:41
浏览 74
已采纳

如何在免费的默认Azure应用服务计划上密码保护网站目录?

I have a PHP/MySQL website running on an Azure free default app service plan. I have an admin directory on the site and I want to password protect it so that it's not publicly accessible. I normally work on Linux/Apache and this is pretty easy to do with .htaccess or cpanel.

This blog post here:

http://blogs.msdn.com/b/silverlining/archive/2011/11/23/packaging-a-custom-php-installation-for-windows-azure.aspx

seems like the way everyone's recommending to do it, but I'm having trouble following it. One of the main issues is that he assumes I set my app up using scaffolds but instead I created a free default app using the Azure web portal. So my directory structure at the start looks like this:

/site
  /diagnostics
  /wwwroot
  /locks
  /deployments
/LogFiles
  ...

What are the instructions to password protect a directory on my website using this starting point?

  • 写回答

1条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 Typegoose 中如何使用 arrayFilters 筛选并更新深度嵌套的子文档数组信息
  • ¥15 前后端分离的学习疑问?
  • ¥15 stata实证代码答疑
  • ¥15 MATLAB数据处理插值
  • ¥50 husky+jaco2实现在gazebo与rviz中联合仿真
  • ¥15 dpabi预处理报错:Error using y_ExtractROISignal (line 251)
  • ¥15 在虚拟机中配置flume,无法将slave1节点的文件采集到master节点中
  • ¥15 husky+kinova jaco2 仿真
  • ¥15 zigbee终端设备入网失败
  • ¥15 金融监管系统怎么对7+4机构进行监管的