Welcome Guest, Not a member yet? Register   Sign In
Controller not Working With HTTPS protocol
#1

(This post was last modified: 03-10-2018, 12:26 AM by hmusman. Edit Reason: SEO spam links redacted )

hi, i used codeignitor many times but this issue is very strange for me 

Problem with HTTPS protocol

when i upload my code on hosting that have HTTPS protocol installed it cant access controller function check this

Default controller run first time 
https://sowportal.ml
but when i opened controller like this
https://sowportal.ml/proposal/new_proposal

it show me page not found error

Without HTTPS
i upload same code on my other hosting
http://businessholics.com/portal
it run normally 
and when access controller its working normally 
http://businessholics.com/portal/proposal/new_proposal

i also set https in base url

thanks
looking forward for your responce

Attached Files Thumbnail(s)
   
Reply
#2

It got nothing to do with https. It's not loading without it:
http://sowportal.ml/proposal/new_proposal

For some reason your host are not loading your .htaccess file.
Reply
#3

(03-10-2018, 01:14 AM)jreklund Wrote: It got nothing to do with https. It's not loading without it:
http://sowportal.ml/proposal/new_proposal

For some reason your host are not loading your .htaccess file.

ok if u need i will share my .htaccess file
Reply
#4

(03-10-2018, 01:14 AM)jreklund Wrote: It got nothing to do with https. It's not loading without it:
http://sowportal.ml/proposal/new_proposal

For some reason your host are not loading your .htaccess file.

Verified.  No .htaccess love.

PHP Code:
http://sowportal.ml/index.php/proposal/new_proposal
https://sowportal.ml/index.php/proposal/new_proposal
// works as expected 
Reply




Theme © iAndrew 2016 - Forum software by © MyBB