Page 1 of 1

[SOLVED] Pretty URLs in CMSMS 1.6.5

Posted: Sun Sep 20, 2009 3:52 pm
by jocando
Hello

I'm trying to follow the new instructions for getting pretty URLs:
http://wiki.cmsmadesimple.org/index.php/User_Handbook/Installation/Optional_Settings

I made changes to the config.php file as instructed.  And uploaded the sample .htaccess file which reads:
# To deny PHPs
                                                                             
 order deny,allow                                                                                                            
 deny from all                                                                                                              


All that happened was I got a 404 error message (Do not have permission to access this page).  I'm sorry, I know it's suddenly in the 'requirements' but I don't understand what I'm trying to do here. And I don't understand the instructions given for how to debug either.

Can anyone help? Is there no simple way to do this anymore?

Thanks
Jo

Re: Pretty URLs in CMSMS 1.6.5

Posted: Sun Sep 20, 2009 4:02 pm
by Rolf
Hi Jocando

The sample .htaccess file is placed in the /doc/ folder of the cmsms setup.
It's called htaccess.txt
Copy it into the root of the site and rename it to .htaccess

Grtz. Rolf

Re: Pretty URLs in CMSMS 1.6.5

Posted: Sun Sep 20, 2009 7:34 pm
by jocando
Yippee, it works!

I didn't see the text file - there was a very obvious .htaccess file so I thought that was it.  No wonder it didn't make sense!  Now I see the correct file I can see what it's doing.

Many thanks
Joanna

Re: [SOLVED] Pretty URLs in CMSMS 1.6.5

Posted: Tue Sep 22, 2009 2:16 pm
by Pierre M.
Everybody can contribute to the wiki with his/her forum account to improve my "Make a .htaccess rewriting ruleset from the provided sample /doc/htaccess.txt" wording ;-)

Pierre M.

Re: [SOLVED] Pretty URLs in CMSMS 1.6.5

Posted: Tue Sep 22, 2009 2:21 pm
by jocando
Many thanks.  I didn't know that. I will certainly try and help.
(As an ex English teacher, I should be able to!)

Re: [SOLVED] Pretty URLs in CMSMS 1.6.5

Posted: Wed Sep 23, 2009 10:20 am
by applejack
Pierre or anyone

Do you know or have a example ini i.e. IIS equivalent of .htaccess file as I am having to try and get this working on IIS6 as {REQUEST_URI} does not work on it. The sever is using IIRF v1.2.16 (Ionic's ISAPI Rewriting Filter).

Re: [SOLVED] Pretty URLs in CMSMS 1.6.5

Posted: Mon Sep 28, 2009 3:44 pm
by Pierre M.
@applejack : sorry, but other issue => other thread. I don't know IIS. Search the forum with Google for IIS.
I'm closing this thread.

Pierre M.