URL Suffix issue |
[eluser]Unknown[/eluser]
Hi all, Trying to set up codeigniter for the first time - don't seem to be able to use .html after I've removed the index.php using .htaccess. Here's .htaccess: RewriteEngine on # Makes .html not work!! RewriteCond $1 !^(index\.php|images|style|public|robots\.txt) RewriteRule ^(.*)$ /index.php?/$1 RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,NC,L] Here's my relevant config data: $config['index_page'] = ""; $config['uri_protocol'] = "AUTO"; $config['url_suffix'] = ".html"; Here's what works: http://mysite.com/index.php/test.html http://mysite.com/index.php/test http://mysite.com/test Here's what doesn't: http://mysite.com/test.html Any ideas? |
Messages In This Thread |
URL Suffix issue - by El Forum - 05-25-2008, 12:36 AM
URL Suffix issue - by El Forum - 05-25-2008, 12:31 PM
URL Suffix issue - by El Forum - 07-06-2008, 07:52 AM
URL Suffix issue - by El Forum - 07-06-2008, 08:35 AM
URL Suffix issue - by El Forum - 03-27-2009, 04:16 AM
|