[英]Transferring files to IIS (attempted using PHPStorm & Finder)
I have a working local copy of a simple website I would like to deploy to an IIS (Internet Information Server) running on my local network. 我有一个简单网站的本地工作副本,我想将其部署到在本地网络上运行的IIS(Internet信息服务器)。 Running on my computer on MAMP, everything works perfectly.
在MAMP上的计算机上运行,一切正常。 However, after I try to upload all the files to the web server and load the index.html it fails to
GET
many different files necessary to load the page. 但是,在尝试将所有文件上传到Web服务器并加载index.html后,它无法
GET
加载页面所需的许多不同文件。 Here is an example error line in the console: 这是控制台中的示例错误行:
GET http://WEBSITE.com/scripts/bootstrap-wizard-custom.js 403 (Forbidden)
Here the methods I have tried to upload files to the live server: 在这里,我尝试过将文件上传到实时服务器的方法:
CMD+K
in Finder, connecting to the live server with an address like smb://webserver
, and then simply dragging files from my local folder to the wwwroot
folder. CMD+K
,使用smb://webserver
类的地址连接到实时服务器,然后将文件从我的本地文件夹拖到wwwroot
文件夹。 What is the best way to go about transferring these files from my local machine to a web server on the same network? 将这些文件从本地计算机传输到同一网络上的Web服务器的最佳方法是什么?
It turns out it was a permissions problem. 原来这是一个权限问题。 After some permission changing, it now works.
更改某些权限后,它现在可以工作。 Fixed!
固定!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.