Php Codeigniter项目在本地工作;在web上显示404
嗨,我的项目在本地运行得很好,但当我尝试在共享主机上运行时,它给出了404错误,我的结构如下 项目结构Php Codeigniter项目在本地工作;在web上显示404,php,.htaccess,codeigniter,mod-rewrite,Php,.htaccess,Codeigniter,Mod Rewrite,嗨,我的项目在本地运行得很好,但当我尝试在共享主机上运行时,它给出了404错误,我的结构如下 项目结构 /public_html/mydomain.com -content --asset --build --case --core --application --main --system --lwyers --setup --subdomains $config['base_url'] = 'http://mydomain.c-m/'; $config[‘uri_p
/public_html/mydomain.com
-content
--asset
--build
--case
--core
--application
--main
--system
--lwyers
--setup
--subdomains
$config['base_url'] = 'http://mydomain.c-m/';
$config[‘uri_protocol’] = 'AUTO';
$config['content_url'] = 'http://mydomain.c-m/content/';
$config['index_page'] = '';
htc access file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>code here
/public\u html/mydomain.com
-内容
--资产
--建造
--案例
--核心
--应用
--主要
--系统
--lwyers
--设置
--子域
$config['base_url']='http://mydomain.c-m/';
$config['uri_protocol']='AUTO';
$config['content\u url']='http://mydomain.c-m/content/';
$config['index_page']='';
htc访问文件
重新启动发动机
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则^(.*)$index.php/$1[L]
代码在这里
请指导我哪里做错了,请检查您的项目目录权限。
你的目录必须有这样的权限:rwx rwx rx你能解释一下项目托管在域的根目录上吗,你的意思是说我将更改域文件夹或任何其他文件夹的权限吗?你的域文件夹的权限根目录是什么?所有权限都是默认权限我是否要更改对任何特定文件夹的权限