Page 1 of 1

[solved] Config file issue with host

Posted: Mon Aug 15, 2011 5:48 pm
by jospanner
I have installed cmsms on a new host (not used before as it came with the client) and they don't support 301 re-direct for pretty urls as they have mod_rewrite pre-configured on their servers. So no need to use .htaccess apparently.

When I activate mod_rewrite in the config file the urls then become correct but ALL pages default to the 404 error page for every page. They are saying the problem is with my script.

Can anyone suggest a way to correct this? I haven't had dealings with this before. What should I be looking for? I haven't made any changes other than the line

$config['url_rewriting'] = 'none';

to

$config['url_rewriting'] = 'mod_rewrite';

Please help! Many thanks.

Re: Config file issue with host

Posted: Mon Aug 15, 2011 6:44 pm
by Wishbone
mod_rewrite might be on, but you need the .htaccess to tell the system how to re-write the URLs.

Re: Config file issue with host

Posted: Mon Aug 15, 2011 10:07 pm
by jospanner
I started with .htaccess but it doesn't seem to be having any impact regardless.

The host removed it as a check and it had no impact on what the mod_rewrite was doing.

Any other thoughts?