[Typo3-dev] Bug in .htaccess?

Andreas Schwarzkopf a.schwarzkopf at meinsystem.de
Thu Apr 29 11:58:11 CEST 2004


Hi Michael,

Michael Stucki schrieb:

> --- cut '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]
> 
> # 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
> 
> ### 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 'final' ---
> 
> Any comments?

looks nice, I will test it.

grtx

Andreas




More information about the TYPO3-dev mailing list