Php 代码点火器,短UL不工作
我可以访问intead of。好的观点 但我无法访问以下URL: 在application/config/config.php中Php 代码点火器,短UL不工作,php,.htaccess,codeigniter,Php,.htaccess,Codeigniter,我可以访问intead of。好的观点 但我无法访问以下URL: 在application/config/config.php中 $config['index_page'] = ''; 根目录上的.htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] <Files
$config['index_page'] = '';
根目录上的.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
<Files "index.php">
AcceptPathInfo On
</Files>
重新编写引擎打开
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则^(.*)$index.php/$1[L]
上的AcceptPathInfo
Apache已经很好地加载了rewrite\u模块
我缺少什么?更改此选项:
RewriteRule ^(.*)$ index.php/$1 [L]
对此(请注意?
):
更改此项:
RewriteRule ^(.*)$ index.php/$1 [L]
对此(请注意?
):
添加
http://myip/test/codeigniter/
也添加到$config['base\u url']
。添加http://myip/test/codeigniter/
至$config['base\u url']
。