我在Ubuntu 10(LAMP)上安装了Codeigniter。我有一个htaccess文件:ubuntu上codeigniter的问题
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /dort
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php
#controller, previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /dort/index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends
#the request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /dort/index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
到现在为止,我们连接远程服务器的IP地址,我的基地位置正坐在一个名为 “多特”文件夹下,所以我们习惯这样称呼它: http://some_ip/dort
现在我们映射了一个虚拟主机多特,所以我们把它像:http://demo.dort.com/突然没有
工作除了登录页面(的index.php)。我已经改变了$配置[ 'BASE_URL']在config.php但我
的愈来愈404
请帮助:(