【发布时间】:2013-09-28 21:20:12
【问题描述】:
我想把我的网站放到网上。我正在使用 WampServer 2.2。现在,我将 wamp 设置如下:
<Directory />
AllowOverride All
Options All
Require all granted
Order allow,deny
</Directory>
Listen 81
<VirtualHost *:81>
ServerName rti.etf.rs
DocumentRoot "C:/wamp/www"
DirectoryIndex index.php
</VirtualHost>
我在 Windows 防火墙中打开了 81 端口。现在,当我尝试打开 localhost:81 时,我的网页可以正常打开。但是,当我尝试使用我的外部 IP 地址 176.xxx.xxx.xxx:81 访问它时,我收到 403 Forbidden 错误。我在 Apache 访问日志中看到了这些请求,所以我猜这部分设置得很好,但我一定错过了 Apache 配置。
编辑:“上线”选项已激活。
有什么有用的想法吗?
【问题讨论】:
-
Put Online 菜单选项? imgur.com/xGago 或者你有没有看到这个问题:stackoverflow.com/questions/5657279/…
-
哦,我忘了写我也把我的服务器放到网上了。
标签: apache wamp apache-config