第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

yii2 用apache時(shí),訪問不了 http://yii.mc.test:8888/site/test ,

yii2 用apache時(shí),.htaccess 加里,可以訪問 http://yii.mc.test:8888?,

但?http://yii.mc.test:8888/site/test 就出現(xiàn)下面圖

訪問不了

https://img1.sycdn.imooc.com//5ae730a600010b6506600264.jpg

補(bǔ)充:

vagrant@vagrant-ubuntu-trusty:/var/log/apache2$ tail -f error.log?

[Mon Apr 30 14:12:25.393716 2018] [core:notice] [pid 5233] AH00094: Command line: '/usr/sbin/apache2'

[Mon Apr 30 14:44:26.094988 2018] [mpm_prefork:notice] [pid 5233] AH00169: caught SIGTERM, shutting down

[Mon Apr 30 14:44:27.155596 2018] [mpm_prefork:notice] [pid 5357] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.24 configured -- resuming normal operations

[Mon Apr 30 14:44:27.155665 2018] [core:notice] [pid 5357] AH00094: Command line: '/usr/sbin/apache2'

[Mon Apr 30 14:59:13.374324 2018] [mpm_prefork:notice] [pid 5357] AH00169: caught SIGTERM, shutting down

[Mon Apr 30 14:59:14.432292 2018] [mpm_prefork:notice] [pid 5441] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.24 configured -- resuming normal operations

[Mon Apr 30 14:59:14.432371 2018] [core:notice] [pid 5441] AH00094: Command line: '/usr/sbin/apache2'

[Mon Apr 30 23:40:19.105968 2018] [mpm_prefork:notice] [pid 5441] AH00169: caught SIGTERM, shutting down

[Tue May 01 00:10:20.847926 2018] [mpm_prefork:notice] [pid 1033] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.24 configured -- resuming normal operations

[Tue May 01 00:10:20.849862 2018] [core:notice] [pid 1033] AH00094: Command line: '/usr/sbin/apache2'


這跟我以前配置過有關(guān)么?我前后配置對(duì)照

? ? ? 域名 ? ? ? ? ? ? ? ?路徑 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?config.vm.box

前?yii.imooc.test ??~/Desktop/imooc/imooc/yii2 ? ??ubuntu/trusty64


后?yii.mc.test? ? ??~/Desktop/mc/imooc/yii2 ? ? ? ??mc





正在回答

1 回答

解決了 忘 記 apache 開啟 ?rewrite 了

開啟rewrite功能

    • sudo a2enmod rewrite


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

yii2 用apache時(shí),訪問不了 http://yii.mc.test:8888/site/test ,

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)