duanbi3385 2012-07-20 14:03 采纳率: 100%
浏览 48
已采纳

too long

I have Code Igniter based site and I have it on ubuntu 12.04 in /var/www/mysite folder My ubuntu serves as a server so I access my site trough other computer, but both computers are on LAN network. I use http://xxx.yyy.zzz.ttt/mysite url to access it.

The problem I have is that I cannot use url without "index.php" in it. So I have http://xxx.yyy.zzz.ttt/mysite/index.php/phpinfo To acces my controller phpinfo instead of http://xxx.yyy.zzz.ttt/mysite/phpinfo

I have cheked well that mod_revrite works well with this here And also checked that the folder, files and subfolders in mysite have all 777 file permissions.

I also added all necessary rules in .htaccess file but still no success

Any idea what is causing this.

  • 写回答

2条回答 默认 最新

  • duanguan5922 2012-07-23 15:55
    关注

    Do you know what was the issue.

    The default file in sites-available had option

    AllowOverride None for /var/wwww

    I set it to All and it worked out. :)

    cheers :)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分