Installation bei KONTENT

Autor Nachricht
Verfasst am: 22.03.2008 [13:28]
Floater

[Themenersteller]
dabei seit: 23.06.2006
Beiträge: 269

Hallo,

ich möchte meine Homepage, die bei kontent.com liegt, nun auch per Typo3 pflegen.
Habe Typo3 erfolgreich installiert.

Ich benutze RealUrl.

Nur mit den RealUrls funktioniert es nicht, obwohl mod_rewrite installiert ist.

Ich habe
Typoscript:Zeilennummerierung:  An / Aus

und
Typoscript:Zeilennummerierung:  An / Aus

  1. config.tx_realurl_enable = 1
gesetzt.

Die localconf.php habe ich natürlich auch angepasst.

Bei sonstigen Insatllationen habe ich damit nie Probleme gehabt, die lagen auch bei anderen Anbietern.

Hat jemand dieses Problem auch schon mal gehabt?

[Dieser Beitrag wurde 1 mal bearbeitet. Zuletzt am 22.03.2008 um 19:47]
Verfasst am: 24.03.2008 [18:33]
Norman2k


dabei seit: 01.09.2004
Beiträge: 481

Floater schrieb:

Nur mit den RealUrls funktioniert es nicht, obwohl mod_rewrite installiert ist.


Was funktioniert nicht? Werden die URLs nicht umgeschrieben? Oder kommt eine Fehlermeldung? Oder ...

Norman

Rebel Creations - Agentur für Webdesign, Corporate Design, Mediendesign, Drucksachen, Hosting, TYPO3, Online-Shops
Verfasst am: 24.03.2008 [18:56]
Floater

[Themenersteller]
dabei seit: 23.06.2006
Beiträge: 269

Norman2k schrieb:

Was funktioniert nicht? Werden die URLs nicht umgeschrieben? Oder kommt eine Fehlermeldung? Oder ...
Norman


Hallo,

die URLs werden umgeschrieben.
Beim Aufruf der Seiten werden die entsprechenden Seiten nicht gefunden.

Anpassungen in der .htaccess habe ich nicht gemacht.
Meine Anpassungen in der localconf.php sehen so aus:

Php:Zeilennummerierung:  An / Aus

  1. // realurl config
  2. $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
  3.     'init' => array(
  4.         'enableCHashCache' => 1,
  5.         'appendMissingSlash' => 'ifNotFile',
  6.         'enableUrlDecodeCache' => 1,
  7.         'enableUrlEncodeCache' => 1,
  8.     ),
  9.     'pagePath' => array(
  10.         'type' => 'user',
  11.         'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
  12.         'spaceCharacter' => '-',
  13.         'languageGetVar' => 'L',
  14.         'expireDays' => 7,
  15.         'rootpage_id' => 0,
  16.     ),
  17.  
  18.          // Prevars show up in the first part of the URL
  19.     'preVars' => array(
  20.         array(
  21.             'GETvar' => 'L',
  22.             'valueMap' => array(
  23.                 'no' => '1',
  24.             ),
  25.             'noMatch' => 'bypass',
  26.         ),
  27.     ),
  28.        
  29.          // fixedPostVars are limited to a single page in the backend
  30. );
  31. // END realurl config


Gruß,
Floater


[Dieser Beitrag wurde 1 mal bearbeitet. Zuletzt am 24.03.2008 um 18:58]
Verfasst am: 24.03.2008 [19:04]
Norman2k


dabei seit: 01.09.2004
Beiträge: 481

Floater schrieb:

Anpassungen in der .htaccess habe ich nicht gemacht.

Was genau heißt das? Wie sieht deine .htaccess aus? Sicher das mod_rewrite geladen und auch erlaubt ist?

[Dieser Beitrag wurde 1 mal bearbeitet. Zuletzt am 24.03.2008 um 19:07]

Rebel Creations - Agentur für Webdesign, Corporate Design, Mediendesign, Drucksachen, Hosting, TYPO3, Online-Shops
Verfasst am: 24.03.2008 [19:36]
Floater

[Themenersteller]
dabei seit: 23.06.2006
Beiträge: 269

Norman2k schrieb:

Was genau heißt das? Wie sieht deine .htaccess aus? Sicher das mod_rewrite geladen und auch erlaubt ist?


Hallo,

ja, RewriteRules funktioniert.

Hir mal meine htaccess:


DirectoryIndex index.php

RewriteEngine On

# NEW SITE STRUCTURE
RedirectMatch 301 /gaeste_r.php /cms/14.0.html
RedirectMatch 301 /gaeste_w.php /cms/16.0.html
RedirectMatch 301 /kalender.php /cms/2.0.html
RedirectMatch 301 /uhrzeit.php /cms/13.0.html
RedirectMatch 301 /musik.php /cms/12.0.html
RedirectMatch 301 /fotos.php /cms/11.0.html
RedirectMatch 301 /galerie.php /cms/11.0.html
RedirectMatch 301 /hallo.php /cms/10.0.html
RedirectMatch 301 /links.php /cms/9.0.html
RedirectMatch 301 /newsletter.php /cms/8.0.html
RedirectMatch 301 /login.php /cms/7.0.html
RedirectMatch 301 /kontakt.php /cms/6.0.html
RedirectMatch 301 /formular.php /cms/6.0.html
RedirectMatch 301 /sitemap.php /cms/15.0.html

#####
#
# Example .htaccess file
#
# This file contains a collection of almost everything you will need
# for optimising TYPO3:
#
# - mod_rewrite (used for SimulateStaticDocuments, RealUrl, etc.)
# - PHP optimisation
#
# If you want to use it, you'll need to rename this file to '.htaccess'.
# (To make this work you will need to adjust the 'AllowOverride'
# directive in your Apache configuration file.)
#
# IMPORTANT: You may need to change this file depending on your TYPO3
# installation!
#
# You should change every occurance of TYPO3root/ to the location where you
# have your website in. For example:
# If you have your website located at http://mysite.com/
# then your TYPO3root/ is just empty (remove 'TYPO3root/')
# If you have your website located at http://mysite.com/some/path/
# then your TYPO3root/ is some/path/ (search and replace)
#
# If you have problems with this file, try using the minimal
# mod_rewrite.htaccess which is located in the typo3_src/misc/
# directory of this installation.
#
# You can also use this configuration in your httpd.conf, but you'll have
# to modify some lines, see the comments (search for 'httpd.conf')
#
# Using rewriting in your httpd.conf is much faster, btw.
#
# Questions about this file go to the matching Install mailing list,
# see http://typo3.org/documentation/mailing-lists/
#
####

### Begin: Rewrite stuff ###

# Enable URL rewriting
RewriteEngine On

# To assist in debugging rewriting, you could use these lines
# DON'T enable it for production!
# This will only work in httpd.conf, not in .htaccess files
#RewriteLog /var/log/apache/rewrite.log
#RewriteLogLevel 9

# If you use the RealUrl extension, then you'll have to enable the next line.
# You will have to change this path if your TYPO3 installation is located
# in a subdirectory of the website root.
#
# If you place this in httpd.conf, you cannot use this directive in any case!
#RewriteBase /

# Stop rewrite processing if we are in the typo3/ directory
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]

# Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
# and stop the rewrite processing
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/typo3$ /TYPO3root/typo3/index.php [L]
RewriteRule ^typo3$ typo3/index_re.php [L]

# If the file/symlink/directory does not exist => Redirect to index.php
# Important note: If you copy/paste this into httpd.conf instead
# of .htaccess you will need to add '%{DOCUMENT_ROOT}' left to each
# '%{REQUEST_FILENAME}' part.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

# Main URL rewriting.

# If you use Windows and SimulateStaticDocuments do not work, try adding a
# slash (/) right before 'index.php' below.

# The example shows how to rewrite only *.html and *.pdf files to index.php
# This may be helpful when using an extension that can generate PDF files
# on the fly.
# Example: RewriteRule .*\.(html|pdf)$ index.php [L]

# For httpd.conf, use this line instead of the next one that has no '#':
# RewriteRule .* /TYPO3root/index.php [L]

# For use with the RealUrl extension, you might need to remove the
# RewriteBase directive somewhere above and use this line instead of the
# next one:
# RewriteRule .* /index.php [L]

RewriteRule .* index.php [L]

### End: Rewrite stuff ###

### Begin: PHP optimisation ###

# All features below are left to the default if you don't change this.
# Simply remove the comment marks if you want to use some/all of these
# settings

# The PHP developers recommend disabling this feature. Do that.
# It's deprecated and is likely to be unsupported in future versions of PHP.
#php_flag allow_call_time_pass_reference off

# TYPO3 works fine with register_globals turned off.
# This is highly recommended!
#php_flag register_globals off

# PHP may not declare the argv & argc variables (that would contain the GET
# information).
# TYPO3 doesn't need this, so just turn it off.
#php_flag register_argc_argv off

# Magic quotes for runtime-generated data (data from SQL, exec(), etc.)
#php_flag magic_quotes_gpc off

# Order in which PHP registers GET, POST, Cookie and Built-in variables
#php_value variables_order GPCS

### End: PHP optimisation ###

### Begin: Miscellaneous ###

# Make sure that directory listings are disabled
#Options -Indexes

# There is a problem with Internet Explorer and mod_gzip on Apache servers.
# For more information, see
# http://typo3.org/documentation/document-library/rtehtmlarea/Tutorial-79/
#mod_gzip_item_exclude file \.css$
#mod_gzip_item_exclude file \.png$
#mod_gzip_item_exclude file \.gif$
#mod_gzip_item_exclude file \.jpg$
#mod_gzip_item_exclude file \.jpeg$
#mod_gzip_item_exclude file \.js$

### End: Miscellaneous ###

# Add your own rules here
# ...



Gruß,
Floater

[Dieser Beitrag wurde 1 mal bearbeitet. Zuletzt am 24.03.2008 um 19:37]
Verfasst am: 25.03.2008 [19:21]
Floater

[Themenersteller]
dabei seit: 23.06.2006
Beiträge: 269

Hallo,

die Seitenlinks mit den RealURLs werden erzeugt. Wenn ich dann auf einen Menüpunkt klicke, dann passiert einfach gar nichts.
Es gibt auch keine Fehlermeldung.

Irgendwie wird die RealURL nicht aufgelöst.

Gruß,
Floater




 
TYPO3 Version 4.2.0 testen

TYPO3 Ver. 4.2.0 testen

Testen Sie die neue TYPO3 Version 4.2.0 kostenlos für einen Monat

TYPO3 Bücher

TYPO3 Workshops


TYPO3 Einführungsschulung
in Berlin:
Montag, 07.07.
in Espelkamp:
Montag, 04.08.

TYPO3 Intensivschulung
in Espelkamp:
Mi., 06.08. - Fr., 08.08.
in Würzburg:
Mo., 18.08. - Mi., 20.08.
in Köln:
Mo., 01.09. - Mi., 03.09.
in Berlin:
Mi., 24.09. - Fr., 26.09.

TYPO3 Extensionschulung
in Berlin:
Mo., 14.07. - Mi., 16.07.
in Espelkamp:
Mo., 11.08. - Mi., 13.08.