wget http://192.168.20.128/~test
--16:44:13-- http://192.168.20.128/%7Etest
=> `%7Etest'
Connecting to 192.168.20.128:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
16:44:13 ERROR 403: Forbidden.
我是一名linux菜鸟,求大侠解救~~
配置/etc/httpd/conf/httpd.conf文件的一部分:
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
#UserDir disable
#
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disable" line above, and uncomment
# the following line instead:
#
UserDir public_html
#
# Control access to UsesiterDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Order allow,deny
Allow from all
Order deny,allow
Deny from all
谢谢~~