Обновление:
Хорошо. Я удалил ссылку index.php из конфигурации в CI, и она больше не отображается в моей строке URL-адреса.
Когда я ввожу свой базовый URL-адрес, он работает нормальнои отображает мою домашнюю страницу:
http://localhost/midas/
Однако, когда я нажимаю на ссылки, которые ведут меня на другие страницы, я получаю объект не найден:
например, я нажимаюКнопка блога, которая приводит меня к:
http://localhost/midas/site/blog
Нужно ли мне менять ссылки и сейчас, когда index.php удален?
Apache Error Log ***
Terminating on signal SIGTERM(15)
[Tue Jul 12 11:14:31 2011] [warn] pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Jul 12 11:14:31 2011] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 12 11:14:31 2011] [notice] Digest: done
[Tue Jul 12 11:14:33 2011] [notice] Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Tue Jul 12 11:14:33 2011] [notice] Server built: Oct 18 2010 01:58:12
[Tue Jul 12 11:14:33 2011] [notice] Parent: Created child process 3856
[Tue Jul 12 11:14:35 2011] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 12 11:14:35 2011] [notice] Digest: done
[Tue Jul 12 11:14:36 2011] [notice] Child 3856: Child process is running
[Tue Jul 12 11:14:36 2011] [notice] Child 3856: Acquired the start mutex.
[Tue Jul 12 11:14:36 2011] [notice] Child 3856: Starting 150 worker threads.
[Tue Jul 12 11:14:36 2011] [notice] Child 3856: Starting thread to listen on port 443.
[Tue Jul 12 11:14:36 2011] [notice] Child 3856: Starting thread to listen on port 80.
[Tue Jul 12 13:02:00 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:02:09 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:02:24 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:02:34 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:03:53 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:03:56 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:04:52 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:06:13 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site
[Tue Jul 12 13:07:37 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
[Tue Jul 12 13:08:05 2011] [error] [client 127.0.0.1] File does not exist: C:/xampp/htdocs/midas/site, referer: http://localhost/midas/
мой htaccess:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/$1 [NC,R=301,L]