Shared SSL Cert Usage = 404 error |
[eluser]skunkbad[/eluser]
I've got a shared hosting account that allows me to use a shared SSL cert. For my site, I just replace the base_url with http://secure30.inmotionhosting.com/~brians6/ if I want to use it, however, it isn't working since using CodeIgniter. I've read through some posts in this forum, but most are dealing with standard SSL, and nothing I have tried so far has worked for me. I figured that CodeIgniter is seeing ~brians6 as a controller, so I tried using a route: $route['~brians6/(.*)'] = '$1'; but that didn't work. If I use my standard domain instead of the shared ssl domain, then the route works. So... I'm tired, and could use some help figuring this out. If I don't answer after a response, that means I fell asleep (hopefully not on the keyboard).
[eluser]Colin Williams[/eluser]
Your mod_rewrite is probably rewriting to http://secure30.inmotionhosting.com/index.php and not http://secure30.inmotionhosting.com/~brians6/index.php Simple debugging in index.php could be done to test this out.
[eluser]skunkbad[/eluser]
I never could get the shared SSL connection to work. It's not mission critical, because I have my own cert, but wondering if maybe there is some limitation that disallows the shared SSL requests to be rewritten on my server. I really don't know. I'm just wondering if anyone has ever got CI to work with a domain / shared SSL domain like mine. I'm not the master of regex or .htaccess, but I was thinking that this would work: Code: RewriteCond %{HTTP_HOST} ^secure30\.inmotionhosting\.com [NC] Instead I just get a 500 error |
Welcome Guest, Not a member yet? Register Sign In |