[solved] Config file issue with host

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

[solved] Config file issue with host

Post 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.
Last edited by jospanner on Wed Aug 17, 2011 7:44 am, edited 1 time in total.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Config file issue with host

Post by Wishbone »

mod_rewrite might be on, but you need the .htaccess to tell the system how to re-write the URLs.
jospanner
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 25, 2008 11:34 pm

Re: Config file issue with host

Post 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?
Locked

Return to “[locked] Installation, Setup and Upgrade”