Home > Backend Development > PHP Tutorial > 关于CI的一个有关问题

关于CI的一个有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:53:31
Original
943 people have browsed it

关于CI的一个问题
我的网站使用了CI框架.如:www.abc.com
现在我有一个a.txt的文件放在根目录下.想这样访问:
www.abc.com/a.txt

由于使用了CI,不能直接访问,请问有什么方法可以直接访问?


------解决方案--------------------
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

上面的2个RewriteCond加了没有?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
apache RewriteCond regular expression
From 1970-01-01 08:00:00
0
0
0
How to write such Apache RewriteCond?
From 1970-01-01 08:00:00
0
0
0
php pseudo-static
From 1970-01-01 08:00:00
0
0
0
apache - .htaccess setting problem
From 1970-01-01 08:00:00
0
0
0
.htaccess rewrite rule issue
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template