![]() |
[SOLVED]Force www problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [SOLVED]Force www problem (/showthread.php?tid=47572) |
[SOLVED]Force www problem - El Forum - 12-14-2011 [eluser]beaudierman[/eluser] I recently decided to force www on one of my domains and I'm at a real loss here. I'm running the newest release of CI and this is the contents of my .htaccess file: Code: <IfModule mod_rewrite.c> Inside is supposed to be code for removing "index.php" and forcing www on the URL. Well, the removal of index.php works fine(i also removed index.php from my config.php file,) AND it forces www properly. But, it adds two forward slashes at the end of any URL that it forces dubs to. IE - visit example.com, changes url to www.example.com// visit example.com/info.php, changes url to www.example.com//info.php Anyone have any idea? Any additional info I need to post? My server is an Amazon EC2 Micro install using Amazon Linux with the newest version of httpd. I can post my phpinfo() if needed. |