我已将我的项目添加到免费托管的000webhost中,我的所有文件都列在public_html /目录中。 项目是在codeigniter中构建的。 我在加入htaccess文件的public_html /的.htaccess包含我的.htaccess文件不起作用
Options +FollowSymLinks
RewriteEngine On
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
但这不工作对我来说是有htaccess的任何问题?
like this one RewriteRule ^(。*)/index.php?req=$1 [L,PT]? – 2015-03-25 07:44:35
您的.htaccess文件很好。你会得到什么错误信息?你有权访问Web服务器的错误日志吗? – vim 2015-03-25 07:44:42
没有我的js,css文件没有被加载,并且链接不工作 – 2015-03-25 07:45:43