为什么我得到这个url not found错误?无法找到错误

时间:2016-09-13 10:54:33

标签: apache .htaccess codeigniter mod-rewrite

虚拟主机:

Uncaught TypeError: Cannot set property 'visibility' of undefined

我的config.php文件:

<VirtualHost *:80>

ServerAdmin localhost

DocumentRoot /var/www/codeigniter

ServerName localhost

ServerAlias localhost

<Directory /var/www/>

Options Indexes FollowSymLinks MultiViews

AllowOverride All

Order allow,deny

allow from all

</Directory>

ErrorLog /var/log/httpd/localhost.com-error_log

CustomLog /var/log/httpd/localhost.com-access_log common

</VirtualHost>

在/var/www/codeigniter/.htaccess文件中:

$config['base_url'] = 'http://localhost/codeigniter';

$config['index_page'] = '';

0 个答案:

没有答案