[opgelost] pretty url in sub map probleempje
Posted: Tue Jan 27, 2009 6:56 pm
Ik heb zowat alle instellingen geprobeerd voor de activering van "pretty url" zonder echt succes
Mijn cmsms staat wel in een submap (dus: www.mijnurl.be/cmsmap/ )
Mijn config settings:
#------------
#URL Settings
#------------
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$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;
#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'] = false;
#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';
htaccess text doc gekopieerd naar de root en hernoemd naar .htaccess (met de aanpassing vermeld door Rolf)
iemand enig idee?
wat moet je nog anders doen als je in een submap werkt?
Ik wil dus volgende bekomen
www.mijnurl.be/cmsmap/pagina
zonder extentie
Mvg
Peter
Mijn cmsms staat wel in een submap (dus: www.mijnurl.be/cmsmap/ )
Mijn config settings:
#------------
#URL Settings
#------------
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$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;
#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'] = false;
#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';
htaccess text doc gekopieerd naar de root en hernoemd naar .htaccess (met de aanpassing vermeld door Rolf)
iemand enig idee?
wat moet je nog anders doen als je in een submap werkt?
Ik wil dus volgende bekomen
www.mijnurl.be/cmsmap/pagina
zonder extentie
Mvg
Peter