youfulanlan 发表于 2013-11-04 11:41

关于apache的alias问题

本帖最后由 youfulanlan 于 2013-11-04 11:44 编辑

问一下我修改apache的配置文件
Alias /samba/ "/home/samba"
<Directory "/var/www/html/samba">
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from All
</Directory>
home的权限755 ,samba的权限755
selinux permissioniptables off
输入192.168.0.6/samba/
为啥不能浏览samba离得文件?
浏览器显示   You don't have permission to access /samba/ on this server.

nbrr 发表于 2013-11-06 16:52

本帖最后由 nbrr 于 2013-11-06 16:58 编辑

试试这个
Alias /samba/ "/home/samba/"
<Directory "/home/samba">
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from All
</Directory>
页: [1]
查看完整版本: 关于apache的alias问题