【发布时间】:2011-06-12 09:37:46
【问题描述】:
服务器:Debian 和 apache2;
var/www: 项目 -> /samba/project/
桑巴/项目: 索引.php .htaccess 测试.php
htaccess:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /project/
RewriteCond %{REQUEST_URI} !index.php.*
RewriteRule ^(.*)$ index.php [L]
localhost/ -> 有效
localhost/index.php -> 有效
localhost/test.php -> 有效(重定向到 index.php 有效)
http://localhost/asdsads -> 不起作用(错误 403)
为什么?
谢谢
【问题讨论】:
-
错误日志显示:“不允许符号链接或链接目标不可访问”但 www-data 具有权限
标签: apache .htaccess apache2 debian