2015-02-23 506 views
0

所以我不能從外面訪問我的網站出於某種原因。我已經嘗試了命令「平xxx」從CMD,但我得到一個超時。但我可以從外面訪問數據庫。我有端口轉發80,也試圖關閉我的防火牆&允許端口80 TCP/UDP進出。無法從外部訪問網站?

我可以在本地訪問它(從我的電腦,並在同一網絡上)

我的httpd.conf看起來是這樣的:

<Directory "D:/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 
Order allow,deny 
Allow from all 
Deny from none 
</Directory> 

的我怎麼能解決這個問題的任何想法?

回答

0

嘗試用Apache 2.4語法替換此Apache 2.2語法。

Order allow,deny 
Allow from all 
Deny from none 

Require all granted