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

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
hamoedie
New Member
New Member
Posts: 7
Joined: Fri Oct 09, 2009 11:53 am

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

Post 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
Last edited by hamoedie on Fri Oct 09, 2009 4:33 pm, edited 1 time in total.
hamoedie
New Member
New Member
Posts: 7
Joined: Fri Oct 09, 2009 11:53 am

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

Post 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 :)
User avatar
tern
Forum Members
Forum Members
Posts: 65
Joined: Tue Oct 16, 2007 1:00 pm

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

Post by tern »

hi, i'm also facing the same problem as u.

whr do u add the "#" at?
thank you cms made simple. cms made possible:
www.redstarz.net
alby

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

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

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