-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行404 Not Found错误 #2
Comments
上面是我唯一可返回的页面截图:http://local.eleteamwap.ygcr8.com |
问题已修复 |
你的APP数据请求是请求的本地还是网络,网络数据丢失...不知道配置到本地访问本地会不会用这种现象,app做的功能太过于简单化了. |
请求的都是网络数据,框架搭好了流程跑通了,其它的都是搭积木 |
我也在改你的代码,昨天弄了一天,搞的我头大.我对你的服务器端很敢兴趣,能不能把具体的配置在github上再次说明一下,我还是无法配出来并跑到本地上.希望再接再厉啊朋友. |
先学会yii2的安装吧,http://www.mafutian.net/122.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<VirtualHost *:80>
ServerAdmin 908601756@qq.com
DocumentRoot /var/www/html/Shop-PHP-Yii2/backend/web
ServerName local.eleteambackend.ygcr8.com
ErrorLog "logs/local.eleteambackend.ygcr8.com-error_log"
CustomLog "logs/local.eleteambackend.ygcr8.com-access_log" common
127.0.0.1 local.eleteam.ygcr8.com
127.0.0.1 local.eleteambackend.ygcr8.com
127.0.0.1 local.eleteamdata.ygcr8.com
127.0.0.1 local.eleteamapi.ygcr8.com
127.0.0.1 local.eleteamwap.ygcr8.com
我照ReadMe上的环境已经搭建好了,但是访问http://local.eleteamwap.ygcr8.com/时,首页是可以出现的,但是点击底部“分类”分页时,显示404 Not Found。
Not Found
The requested URL /category was not found on this server.
Apache/2.4.7 (Ubuntu) Server at local.eleteamwap.ygcr8.com Port 80
请问,我还还需要配置什么?还是您github的代码没有全?
并且在访问其他页面时,会常见出现/user/login 404,例如访问:
http://local.eleteambackend.ygcr8.com,就会直接跳转到:http://local.eleteambackend.ygcr8.com/user/login,然后就是:
Not Found
The requested URL /user/login was not found on this server.
Apache/2.4.7 (Ubuntu) Server at local.eleteambackend.ygcr8.com Port 80
The text was updated successfully, but these errors were encountered: