I want both www and non-www to work ! |
Hello forum , i need your help about my codeigniter site.
I have an iOS application which makes a POST request to my site with www example : http://www.mysite.... The response is 301 moved permanently and i can never get the POST data. If i make the POST request to non-www example : http://mysite... Everything works fine ! So here is my current configuration system/application/config/config.php Code: $config['base_url'] = 'http://mysite.....'; .htaccess Code: RewriteEngine on and my apache virtualhost configuration file sites-available/mysite.com Code: <VirtualHost *:80 > any ideas ?? Thanks !! |
Messages In This Thread |
I want both www and non-www to work ! - by invader7 - 03-21-2015, 07:44 AM
RE: I want both www and non-www to work ! - by silentium - 03-23-2015, 09:38 AM
RE: I want both www and non-www to work ! - by CroNiX - 03-23-2015, 11:23 AM
RE: I want both www and non-www to work ! - by mwhitney - 03-23-2015, 12:10 PM
RE: I want both www and non-www to work ! - by invader7 - 03-23-2015, 12:39 PM
RE: I want both www and non-www to work ! - by silentium - 03-24-2015, 02:08 PM
|