[TYPO3-german] realurl, htaccess: Gewisse Seiten reagieren nicht mehr, timeout... Dies auch im backend?

Cyrill Helg linux at solnet.ch
Tue Feb 27 11:05:20 CET 2007


Am Dienstag, 27. Februar 2007 schrieb Daniel Selinger:
> Hi,
>
> kannst du deine .htaccess in die Mail schreiben?
> In deinem Attachement scheint nix drin zu sein :-/
>

Hallo

Ja tut mir Leid, die ist wirklich leer.

Hier ist sie und im folgenden auch noch die RealURL Konfiguration.
Interessanterweise funktionieren auch Links nicht die auf einen geschützten 
Bereich gehen, das heisst man wird nicht richtig zur Login Seite geleitet.


### 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 /jw/


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

RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [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   ^.*[^\.php]$  /index.php

RewriteRule   .* index.php [L]
### End: Rewrite stuff ###


$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array('_DEFAULT' =>
        array('pagePath' =>
            array('type' => 'user',
                  'userFunc' 
=>'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                  'rootpage_id' => 75
            ),
	'init' => array (
            'enableCHashCache' => '1',
            'appendMissingSlash' => 'ifNotFile'
        )
)
);



More information about the TYPO3-german mailing list