Links werden mit Modrewrite nicht gefunden
Verfasst: Di 29. Mai 2007, 00:45
Hallo Forum,
ich habe die Modrewrite version 4.6.15 installiert und habe damit folgende Probleme:
1. Mit der Original-HTAccess Datei bekam ich sofort Error 500. Hab mich tagelang mit dem Sopport von 1&1 rumgeschlagen, aber die koennen oder wollen einen nicht verstehen - und helfen schon gar nicht!
Habe dann in diesen thread eine andere HTAccess gefunden und die aufgespielt. Das Ergebnis: Kein Error 500 mehr. Trotzdem kommt noch kein Grund zur Freude auf, denn
2. Linknamen werden bei Mouseover wunderbar seo-gerecht angezeigt, aber die Links werden nicht gefunden (Unable to locate requested page).
Auch nach mehrmaligem durchblaettern dieses 48-seiten Threads bin ich noch nicht auf die Loesung gestossen.
Hier meine Config.php
und meine Htaccess
Hoffe mir kann jmd weiterhelfen
Danke
ich habe die Modrewrite version 4.6.15 installiert und habe damit folgende Probleme:
1. Mit der Original-HTAccess Datei bekam ich sofort Error 500. Hab mich tagelang mit dem Sopport von 1&1 rumgeschlagen, aber die koennen oder wollen einen nicht verstehen - und helfen schon gar nicht!
Habe dann in diesen thread eine andere HTAccess gefunden und die aufgespielt. Das Ergebnis: Kein Error 500 mehr. Trotzdem kommt noch kein Grund zur Freude auf, denn
2. Linknamen werden bei Mouseover wunderbar seo-gerecht angezeigt, aber die Links werden nicht gefunden (Unable to locate requested page).
Auch nach mehrmaligem durchblaettern dieses 48-seiten Threads bin ich noch nicht auf die Loesung gestossen.
Hier meine Config.php
Code: Alles auswählen
<?php
/******************************************
* File : config.php
* Project : Contenido
* Descr : Defines all general
* variables of Contenido.
*
* © four for business AG
******************************************/
global $cfg;
/* Section 1: Path settings
* ------------------------
*
* Path settings which will vary along different
* Contenido settings.
*
* A little note about web and server path settings:
* - A Web Path can be imagined as web addresses. Example:
* http://192.168.1.1/test/
* - A Server Path is the path on the server's hard disk. Example:
* /var/www/html/contenido for Unix systems OR
* c:/htdocs/contenido for Windows systems
*
* Note: If you want to modify the locations of subdirectories for
* some reason (e.g. the includes directory), see Section 8.
*/
/* The root server path to the contenido backend */
$cfg['path']['contenido'] = '/homepages/29/d100343525/htdocs/contenido/contenido/';
/* The web server path to the contenido backend */
$cfg['path']['contenido_fullhtml'] = 'http://www.jalercom.com/contenido/contenido/';
/* The root server path where all frontends reside */
$cfg['path']['frontend'] = '/homepages/29/d100343525/htdocs/contenido/';
/* The root server path to the conlib directory */
$cfg['path']['phplib'] = '/homepages/29/d100343525/htdocs/contenido/conlib/';
/* The root server path to the pear directory */
$cfg['path']['pear'] = '/homepages/29/d100343525/htdocs/contenido/pear/';
/* The server path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg'] = '/homepages/29/d100343525/htdocs/contenido/contenido/external/wysiwyg/tinymce2/';
/* The web path to the desired WYSIWYG-Editor */
$cfg['path']['wysiwyg_html'] = 'http://jalercom.com/contenido/contenido/external/wysiwyg/tinymce2/';
/* The server path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg'] = '/homepages/29/d100343525/htdocs/contenido/contenido/external/wysiwyg/';
/* The web path to all WYSIWYG-Editors */
$cfg['path']['all_wysiwyg_html'] = 'http://jalercom.com/contenido/contenido/external/wysiwyg/';
/* Section 2: Database settings
* ----------------------------
*
* Database settings for MySQL. Note that we don't support
* other databases in this release.
*/
/* The prefix for all contenido system tables, usually "con" */
$cfg['sql']['sqlprefix'] = 'con';
/* The host where your database runs on */
$contenido_host = 'host';
/* The database name which you use */
$contenido_database = 'user';
/* The username to access the database */
$contenido_user = 'db';
/* The password to access the database */
$contenido_password = 'password';
$cfg["database_extension"] = 'mysql';
$cfg["nolock"] = false;
$cfg["is_start_compatible"] = false;
/* Advanced ModRewrite settings
* ----------------------------
*
* global ModRewrite Settings.
*
* edit by stese - ModRewrite
*/
/* Use advanced mod_rewrites ( 1 = yes, 0 = none ) */
$cfg['mod_rewrite']['use'] = 0;
/* Path to the htaccessfile with trailling slash from domain-root! */
$cfg['mod_rewrite']['rootdir'] = '/contenido/';
/* 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'] = 1;
/* 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';
/*
following three settings write urls like this one:
www.domain.de/category1-category2.articlename.html
changes of these settings causes a reset of all aliases
by using following code snippet in a module once:
<?php
cInclude('classes','class.modrewrite.php');
ModRewrite::reset_aliases();
?>
*/
/* 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'] = '.';
?>
Code: Alles auswählen
#AddHandler php-cgi .php .php4
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^index.html$ - [L]
RewriteRule ^$ - [L]
# ausnahmen für verzeichnisse der mod_rewrite regel:
# verzeichnisse ausschließen
RewriteRule ^usage/.*$ - [L]
# das kann beliebig erweitert werden:
# RewriteRule ^verzeichnis1/.*$ - [L]
# RewriteRule ^verzeichnis2/.*$ - [L]
# RewriteRule ^verzeichnis3/.*$ - [L]
# RewriteRule ^verzeichnis4/.*$ - [L]
# achtung bitte basisverzeichnis anpassen!
RewriteBase /contenido/
Hoffe mir kann jmd weiterhelfen
Danke