課程
/后端開發(fā)
/PHP
/PHP入門篇
# DocumentRoot: The directory out of which nsf
2017-09-23
源自:PHP入門篇 2-3
正在回答
我也遇到這個問題了,怎么解決的?
這個解決了嗎 ?我也是遇到這樣的情況
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:\Demo"
<Directory "D:\Demo/">
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot D:\Demo
<Directory? "D:\Demo/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
試一試,我也不知道對不對,不過反正綠了。我剛接觸,不知道,自己隨便?弄的。在兩個目錄下
嗯啊 都是新版的,和老師講的這個版本不太一樣。
DocumentRoot?"${INSTALL_DIR}/www" <Directory?"${INSTALL_DIR}/www"> ????Options?+Indexes?+FollowSymLinks?+Multiviews ????AllowOverride?all ????Require?local </Directory>
舉報
PHP入門教程輕松學習,行業(yè)大牛幫您快速掌握PHP編程基礎(chǔ)知識。
1 回答DocumentRoot "${INSTALL_DIR}/www"這個怎么改啊我的
3 回答為什么wampserver3.0修改httpd.conf的documentroot無效
3 回答Index of/這是什么情況呢
1 回答什么情況下需要改端口呢?
1 回答為什么我修改根目錄不成功呢?這是我在httpd.conf中的修改
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2018-02-20
我也遇到這個問題了,怎么解決的?
2017-12-01
這個解決了嗎 ?我也是遇到這樣的情況
2017-10-20
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:\Demo"
<Directory "D:\Demo/">
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot D:\Demo
<Directory? "D:\Demo/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
試一試,我也不知道對不對,不過反正綠了。我剛接觸,不知道,自己隨便?弄的。在兩個目錄下
2017-10-07
嗯啊 都是新版的,和老師講的這個版本不太一樣。
2017-10-05