Page 1 of 1

Problem with mod_rewrite & url

Posted: Tue Jun 06, 2006 2:33 pm
by jck
Hi to everyone,
i'm new in this forum.
I've install cmsmadesimple latest version in my server but when  I activate mod_rewrite, in config.php file, the script doesn't work.
The mod_rewrite modules in Apache is active.
The address is: http://www.vacanzericcione.it/

In .htaccess file i have:

Options FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]

In config.php file i have:

#------------
#URL Settings
#------------

#Show mod_rewrite URLs in the menu?
$config['assume_mod_rewrite'] = true;

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

#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism?  This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = false; (i try also with "true" option but nothing!!!)

#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';

Where is the problem?
Who can help me?
Thanks

Re: Problem with mod_rewrite & url

Posted: Tue Jun 06, 2006 2:56 pm
by jck
I've just resolve the bug
The problem was  mod_rewrite  modules

Thanks