文章列表
(1) 文件夹结构
~/public_html/
~/public_html/plan
~/public_html/blog
其中plan和blog是两个独立的rails项目
(2) .htaccess 文件的配置
~/public_html/plan/.htaccess
RewriteEngine On
RewriteRule ^(.*)$ ./public/$1 [L]
~/public_html/plan/public/.htaccess
AddHandler fastcgi-script .fcgi
Options +FollowSymLinks +ExecCGI
...
- 2009-04-20 10:31
- 浏览 1143
- 评论(0)