Home  >  Article  >  Backend Development  >  yii2项目如何放到阿里云上

yii2项目如何放到阿里云上

WBOY
WBOYOriginal
2016-06-06 20:15:161216browse

本地用wamp基于yii2 basic开发的项目,租了个阿里云的服务器,装了lamp,项目的文件夹放在了etc/var/www/html下,通过ip/itemenam/web 无法访问。。有些view倒是打得开,但是很多css not found。。。看了下文档 没看懂。。

回复内容:

本地用wamp基于yii2 basic开发的项目,租了个阿里云的服务器,装了lamp,项目的文件夹放在了etc/var/www/html下,通过ip/itemenam/web 无法访问。。有些view倒是打得开,但是很多css not found。。。看了下文档 没看懂。。

css not found 那就是说明资源访问出现问题,同时,你的本地开发未出现问题,那么请确认lamp中Apache的mod_rewrite是否开启。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn