Welcome Guest, Not a member yet? Register   Sign In
CI 3 input post not working when removed index.php
#3

Rewrite mod is ok!

I believe the trouble starts from here:
RewriteCond %{HTTP_HOST} ^mysite\.com
RewriteRule (.*) http://www.mysite.com/$1 [R=301,L]

This rules says to rewrite mysite.com to www.mysite.com and the form_open() generate mysite.com/controller
(as i set up http://mysite.com as base_url() in config file)
that is converted to www.mysite.com from the htaccess rule above.

I believe that this is messing up a bit codeigniter flow..

It's just a thought and tomorrow i'll try it..

thanks anyway..
Reply


Messages In This Thread
RE: CI 3 input post not working when removed index.php - by Johnny Stec - 05-06-2015, 03:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB