【发布时间】:2011-11-23 13:23:32
【问题描述】:
我想要在我的域中文件夹 test 中的第二个网站
www.mydomian.com/test
在 linux 上运行的 Apache 服务器。
但是当我在导航器样式中加载它时,无法找到图像、助手。
我的htaccess是这样的:
重写引擎开启
RewriteBase /测试
RewriteCond %{REQUEST_URI} ^system.*
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /test/index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
提前谢谢你
你说的我试过了,把你给我的htaccess文件放在test文件夹里,另一个放在根目录下,还是不行。
其他选项?
【问题讨论】:
-
所以您在 www.domain.com 上运行 CodeIgniter 网站,并且想要在 www.domain.com/test 中再添加一个?
标签: apache .htaccess codeigniter subdirectory