【发布时间】:2012-11-23 23:51:10
【问题描述】:
我需要将一个子目录设置为 DocumentRoot 以在 slim 框架上运行我的应用程序。有没有办法做到这一点?
我尝试使用 htaccess 文件但没有成功: 根:
RewriteEngine On
RewriteRule ^$ www/ [L]
RewriteRule (.*) www/$1 [L]
子目录:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
【问题讨论】:
标签: cloud slim cloudcontrol