Adding URL Suffix Problem |
[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
[eluser]mcxbain[/eluser]
CI_VERSION 2.0.1 PHP 5.3.3-1ubuntu9.4 LIGHTTPD 1.4.28
[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 |
Welcome Guest, Not a member yet? Register Sign In |