Posts Tagged 'CodeIgniter'

Website hacked with random URL to access (http://ku6-com.haberturk.com.careerbuilder-com.webnetlinks.ru:8080/)

One of my website has been hacked by some hacker or can be with some libraries I am using for my CodeIgniter project… I’m not sure if it is due to the library or about my web hosting place…. I’m still investigating the issue. It is trying to access to random URL as : http://ku6-com.haberturk.com.careerbuilder-com.webnetlinks.ru:8080/apple.com/apple.com/drudgereport.com/google.com/joy.cn/ Mostly the random [...]

27 January 2010 at 12:18 - Comments

CodeIgniter – Remove index.php from URI

Normally with CodeIgniter, the URI will come with http://domain/index.php/controller/methodYou may have doubt to remove the index.php to have only http://domain/controller/method .. Here is the way:1. mod_rewrite still need to be enable in your apache server2. Open config.php from your application/config and replace $config['index_page'] = “index.php” by $config['index_page'] = “” 3. In file .htaccess at the root of [...]

22 January 2010 at 13:22 - Comments

CodeIgniter – Automatic config base url

In CodeIgniter, you may know that you need to configure base url via config.php (param: $config["base_url"]) so when change domain you may doubt sometimes with such small error; Here a solution to help solving the issue; Change at config.php by fix url with this smart url configuration:

$config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == “on”) ? “https” [...]

22 January 2010 at 12:29 - Comments