Page 1 of 1

[SOLVED] Mod_rewrite problem with 1.6.6 || Pretty URL problem 1.6.6

Posted: Fri Oct 09, 2009 12:11 pm
by hamoedie
Hi all,

With Mod_rewrite implemented my cmsms site fails ; an internal 500 server error

I have installed cmsms 1.6.6
Host Freebsd with php version 5.2.8

In the config.php file I configured the following settings:
#------------
#URL Settings
#------------

#What type of URL rewriting should we be using for pretty URLs?  Valid options are:
#'none', 'internal', and 'mod_rewrite'.  'internal' will not work with IIS some CGI
#configurations. 'mod_rewrite' requires proper apache configuration, a valid
#.htaccess file and most likely {metadata} in your page templates.  For more
#information, see:
#http://wiki.cmsmadesimple.org/index.php ... ty_URL.27s
$config['url_rewriting'] = 'mod_rewrite';

#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '';

#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy?  (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;

#If using none of the above options, what should we be using for the query string
#variable?  (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';


My htaccess is a direct copy from the /docs/htaccess.txt as was explained in the wiki.
With this htaccess my site fails, i get a 500 internal server error...
(also implemented standalone without configuring the config.php file )

my php info can be found at : http://naar-engeland.eu/phpinfo.php

I tried to see if anybody else has the same problem as i am having but for now i am the only one :(
Can anybody help me out?
Thanks in advance

Re: [SOLVED] Mod_rewrite problem with 1.6.6 || Pretty URL problem 1.6.6

Posted: Fri Oct 09, 2009 4:35 pm
by hamoedie
Problem solved:
the host did not allow to set OPTIONS  because of security issues.
I turned off OPTIONS by adding a # in front of it and it works perfectly :)

Re: [SOLVED] Mod_rewrite problem with 1.6.6 || Pretty URL problem 1.6.6

Posted: Tue Nov 03, 2009 8:17 am
by tern
hi, i'm also facing the same problem as u.

whr do u add the "#" at?

Re: [SOLVED] Mod_rewrite problem with 1.6.6 || Pretty URL problem 1.6.6

Posted: Tue Nov 03, 2009 9:34 am
by alby
tern wrote: whr do u add the "#" at?
hamoedie wrote: I turned off OPTIONS by adding a # in front of it and it works perfectly :)
Look in htaccess that come with CMSMS/doc and comment all rows with Options in front ...

Alby