[Typo3-dev] Bug in .htaccess?
Andreas Schwarzkopf
a.schwarzkopf at meinsystem.de
Thu Apr 29 13:34:20 CEST 2004
Hi Michael,
I have deactivated the realURL stuff by default and moved it higher. If
you have not installed this extension, all images and styles are not
found (?)
On windows (it seems not on all machines) you have also additionally put
the slash before the file / dirs.
Michael Stucki schrieb:
> --- cut 'final' ---
>
> Any comments?
--- cut new final ---
### Begin: Rewrite stuff ###
# Enably URL rewriting
RewriteEngine On
# This is important! You will have to change this path if your TYPO3
# installation is located in a subdirectory of the website root
RewriteBase /
# Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
# and stop the rewrite processing
RewriteRule ^typo3$ typo3/index_re.php [L]
# Stop rewrite processing if we are inside of typo3/
RewriteRule ^typo3/ - [L]
# uncomment this if you use RealURL:
# If the file/symlink/directory does not exist => Redirect to index.php
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
#RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-l
#RewriteRule .* index.php [L]
# main rewrite rule
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteRule ^[^/]*\.html$ index.php
### End: Rewrite stuff ###
### Begin: PHP optimisation ###
# This is disabled by default
# Simply remove the comment marks if you want to use these settings
# php_flag allow_call_time_pass_reference off
# php_flag register_globals off
# php_flag register_argc_argv off
# php_flag magic_quotes_gpc off
# php_value variables_order GPCS
### End: PHP optimisation ###
--- cut new final ---
grtx
Andreas
More information about the TYPO3-dev
mailing list