久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術(shù)文章
文章詳情頁

Apache2.4.18 錯誤403

瀏覽:121日期:2024-06-30 09:52:17

問題描述

1.背景:小弟菜鳥,想在公司局域網(wǎng)搭建web管理系統(tǒng),但是在搭建環(huán)境時遇到問題百度1天都沒百出來 啥,都是過期復(fù)制粘貼的答案。2.環(huán)境:安裝環(huán)境:1)Win7Pro(32bit)中文(非虛擬機)2)Wampserver3.0.4(Server Software:Apache/2.4.18 (Win32) PHP/5.6.19 - Port defined for Apache: 80)3.問題描述:1)安裝完wampserver后啟動正常,通過localhos,本機ip,127.0.0.1都可以訪問正常。但是我在局域網(wǎng)其它機器上訪問服務(wù)會提示訪問拒絕沒有權(quán)限巴拉巴拉巴拉。。如下截圖:Apache2.4.18 錯誤403錯誤日志:

[authz_core:error] [pid 4544:tid 864] [client 192.168.221.122:49359] AH01630: client denied by server configuration: C:/wamp/www/favicon.ico[authz_core:error] [pid 4544:tid 856] [client 192.168.221.122:49363] AH01630: client denied by server configuration: C:/wamp/www/

2)出現(xiàn)上面問題讓我這個菜鳥都市懵逼了,百度谷歌都沒解決,大部分答案是修改http.conf目錄訪問權(quán)限,然后我也修改了,允許所有訪問重啟服務(wù)重啟電腦,但是還是出現(xiàn)上面訪問拒絕

DocumentRoot 'c:/wamp/www'<Directory 'c:/wamp/www/'> # # Possible values for the Options directive are 'None', 'All', # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that 'MultiViews' must be named *explicitly* --- 'Options All' # doesn’t give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options +Indexes +FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be 'All', 'None', or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride all # # Controls who can get stuff from this server. ## onlineoffline tag - don’t remove# Require local Require all granted</Directory>

4.總結(jié):折騰一天了,太累人了,求大神指點,感謝不盡

問題解答

回答1:

這個問題也是搞了好半天。。。。。apache 2.4.18** 結(jié)果是:還需要修改 Virtual Hosts 文件在conf/extra/httpd-vhosts.conf !!!!!

<VirtualHost *:80>

ServerName localhostDocumentRoot d:/wamp/www<Directory 'd:/wamp/www/'> Options +Indexes +FollowSymLinks +MultiViews AllowOverride All #Require local Require all granted</Directory>

</VirtualHost>

回答2:

把你機器上防火墻關(guān)了試試吧,在高級系統(tǒng)管理里面!

回答3:

wampsever3菜單有了變化,put online/offline 功能需要開啟,右擊服務(wù)圖片找到菜單選項,開啟put online/offline 菜單然后put on line就可以在其他機器訪問了,但是這個功能也是通過修改 httpd.conf文件將目錄訪問權(quán)限 Require local>Require all granted 但是手動修改就不行,不知道咋回事,有知道的大神指點下。

相關(guān)文章:
主站蜘蛛池模板: 大新县| 临潭县| 克什克腾旗| 荔波县| 甘肃省| 无锡市| 长寿区| 望都县| 个旧市| 大渡口区| 姜堰市| 正定县| 萨迦县| 昌乐县| 通辽市| 吴旗县| 新晃| 山东省| 庆云县| 房山区| 延长县| 石泉县| 五家渠市| 马关县| 惠来县| 讷河市| 沭阳县| 三穗县| 永登县| 盘锦市| 达孜县| 延庆县| 太湖县| 虞城县| 西青区| 冕宁县| 巧家县| 沙坪坝区| 青阳县| 乌兰察布市| 新闻|