Adding URL Suffix 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: Adding URL Suffix Problem (/showthread.php?tid=41240) |
Adding URL Suffix Problem - El Forum - 05-02-2011 [eluser]mcxbain[/eluser] Hello everybody, I add the URL Suffix to: $config['url_suffix'] = '.html'; After i get 404 - Not Found Somebody have an solution ? redirect('main_controller'); -> http://localhost/main_controller.html -> 404 - Not Found Thanks mcxbain Adding URL Suffix Problem - El Forum - 05-02-2011 [eluser]mcxbain[/eluser] CI_VERSION 2.0.1 PHP 5.3.3-1ubuntu9.4 LIGHTTPD 1.4.28 Adding URL Suffix Problem - El Forum - 05-03-2011 [eluser]mcxbain[/eluser] I test it with apache2 and debian. I figured out the problem is the dot. $config['url_suffix'] = 'html'; -> works $config['url_suffix'] = '.html'; -> dosent work when i set the index page to $config['index_page'] = 'index.php' the suffix .html works But after i dont have a clean url. somebody have a idea ? mcxbain |