LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 634|回复: 0

配置个人网站的问题

[复制链接]
发表于 2006-11-16 15:41:39 | 显示全部楼层 |阅读模式
配置个人网站的问题  (虚拟机linux )
<IfModule mod_userdir.c>
UserDir disable root
UserDir public_html
</IfModule>
<Directory "/home/*/public_html">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
su - user1
      
cd /
      
mkdir public_html
     
cd ..
      
chmod 711 user1
      
cd ~/public_html
     
  echo jaskdlfj > index.html

windows xp(ie)
192.168.1.4/~user1

出现如下错误!
Forbidden
You don't have permission to access /~user1 on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at 192.168.1.4 Port 80
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表