X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff_plain/8fdab46dbd167b1969dcb30b823f3f3e591d03a2..24b26aee15d95ce0efe4ba91d76978cfae67e8dc:/_.htaccess diff --git a/_.htaccess b/_.htaccess index 79d8b0719cb..23fa98b7fe4 100644 --- a/_.htaccess +++ b/_.htaccess @@ -85,11 +85,11 @@ RewriteEngine On # Rules to set ApplicationContext based on hostname #RewriteCond %{HTTP_HOST} ^dev\.example\.com$ -#RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Development] +#RewriteRule .? - [E=TYPO3_CONTEXT:Development] #RewriteCond %{HTTP_HOST} ^staging\.example\.com$ -#RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Production/Staging] +#RewriteRule .? - [E=TYPO3_CONTEXT:Production/Staging] #RewriteCond %{HTTP_HOST} ^www\.example\.com$ -#RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Production] +#RewriteRule .? - [E=TYPO3_CONTEXT:Production] # Rule for versioned static files, configured through: # - $TYPO3_CONF_VARS['BE']['versionNumberInFilename'] @@ -113,8 +113,8 @@ RewriteRule ^typo3conf/ext/[^/]+/Resources/Private/ - [F] # 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/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L] -RewriteRule ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L] +# RewriteRule ^/TYPO3root/(typo3/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L] +RewriteRule ^(typo3/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L] # If the file/symlink/directory does not exist => Redirect to index.php. # For httpd.conf, you need to prefix each '%{REQUEST_FILENAME}' with '%{DOCUMENT_ROOT}'.