我刚刚买了一台Mac-PRO与小牛10.9.1网址中的index.php在此之前,我是工作在PC与Windows 7无法从Mac OSX上使用笨
我在windows下创建的项目7操作系统,现在我想将其导入到OSX,除了.htaccess文件之外,导入成功。我无法从我的网址中删除index.php
。 我已经安装了甲基苯丙胺,如果我用index.php
我的网址只工作:
- 不起作用:
(localhost/~username/feel/products)
- 工作:
(localhost/~username/feel/index.php/products)
我试过RewriteEngine叙述,和的RewriteCond重写规则的所有选项在.htaccess文件中。 我给所有的文件夹/文件chmod 755,已经把$config['base_url']=''
和$config['index_page'] = '';
有和没有根或index.php页面。
文件.htaccess位于index.php页面的相同文件夹中,AllowOverride无是AllowOverride All。
这为我做!还根据@stomdrain修改了httpd.conf。谢谢! – AshBrad