Moving Codeigniter Project to Amazon EC2, htaccess and ModRewrite Problems

前端 未结 2 1374
野的像风
野的像风 2021-01-03 11:02

I am attempting to move my Codeigniter projects from a shared hosting service to Amazon EC2 and am running into some challenges with my .htaccess settings. These settings e

相关标签:
2条回答
  • 2021-01-03 11:54

    have you also tried

    RewriteBase /

    or RewriteBase /simple/

    or along those lines?

    in my dealings on servers i've used, i've never had to put the domain into the rewrite base. Just the folders

    0 讨论(0)
  • 2021-01-03 12:04

    To answer my own question...

    I wound up changing the Apache file /etc/apache/sites-available/default from AllowOverRide = None to AllowOverRide = All.

    0 讨论(0)
提交回复
热议问题