Source for file config.mod_rewrite_default.php
Documentation is available at config.mod_rewrite_default.php
* Plugin Advanced Mod Rewrite default settings. This file will be included if mod rewrite settings
* of an client couldn't loaded.
* Containing settings are taken over from contenido-4.6.15mr setup installer template beeing made
* Changes in these Advanced Mod Rewrite settings will affect all clients, as long as they don't have
* their own configuration.
* PHP needs write permissions to the folder, where this file resides. Mod Rewrite configuration files
* will be created in this folder.
* @author Murat Purc <murat@purc.de>
* @copyright © Murat Purc 2008
// Use advanced mod_rewrites ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['use'] =
0;
// Path to the htaccess file with trailling slash from domain-root!
$cfg['mod_rewrite']['rootdir'] =
'/';
// Check path to the htaccess file ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['checkrootdir'] =
1;
// Start TreeLocation from Root Tree (set to 1) or get location from first category (set to 0)
$cfg['mod_rewrite']['startfromroot'] =
0;
// is multilanguage? ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['use_language'] =
0;
// use language name in url? ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['use_language_name'] =
0;
// is multiclient in only one directory? ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['use_client'] =
0;
// use client name in url? ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['use_client_name'] =
0;
// use lowercase url? ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['use_lowercase_uri'] =
1;
// file extension for article links
$cfg['mod_rewrite']['file_extension'] =
'.html';
// The percentage if the category name have to match with database names.
$cfg['mod_rewrite']['category_resolve_min_percentage'] =
'75';
// Add start article name to url (1 = yes, 0 = none)
$cfg['mod_rewrite']['add_startart_name_to_url'] =
1;
// Default start article name to use, depends on active add_startart_name_to_url
$cfg['mod_rewrite']['default_startart_name'] =
'index';
// Rewrite urls on generating the code for the page. If active, the responsibility will be
// outsourced to moduleoutputs and you have to adapt the moduleoutputs manually. Each output of
// internal article/category links must be processed by using $sess->url. (1 = yes, 0 = none)
$cfg['mod_rewrite']['rewrite_urls_at_congeneratecode'] =
0;
// Rewrite urls on output of htmlcode at front_content.php. Is the old way, and doesn't require
// adapting of moduleoutputs. On the other hand usage of this way will be slower than rewriting
// option above. (1 = yes, 0 = none)
$cfg['mod_rewrite']['rewrite_urls_at_front_content_output'] =
1;
// Following five settings write urls like this one:
// www.domain.de/category1-category2.articlename.html
// Changes of these settings causes a reset of all aliases, see Advanced Mod Rewrite settings in
// NOTE: category_seperator and article_seperator must contain different character.
// Use categories as html file part? ( 1 = yes, 0 = none )
$cfg['mod_rewrite']['use_categories_as_html_file'] =
0;
// Seperator for categories
$cfg['mod_rewrite']['category_seperator'] =
'-';
// Seperator between category and article
$cfg['mod_rewrite']['article_seperator'] =
'.';
// Word seperator in category names
$cfg['mod_rewrite']['category_word_seperator'] =
'_';
// Word seperator in article names
$cfg['mod_rewrite']['article_word_seperator'] =
'-';
// Routing settings for incomming urls. Here you can define routing rules as follows:
// $cfg['mod_rewrite']['routing'] = array(
// '/a_incomming/url/foobar.html' => '/new_url/foobar.html', # route /a_incomming/url/foobar.html to /new_url/foobar.html
// '/cms/' => '/' # route /cms/ to / (doc root of client)
$cfg['mod_rewrite']['routing'] =
array();
// Redirect invalid articles to errorpage (1 = yes, 0 = none)
$cfg['mod_rewrite']['redirect_invalid_article_to_errorsite'] =
0;
Documentation generated on Sun, 03 Aug 2008 22:21:54 +0200 by phpDocumentor 1.4.0