Created
September 13, 2013 08:35
-
-
Save t3easy/6548125 to your computer and use it in GitHub Desktop.
adaptive-images TYPO3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
# Enable URL rewriting | |
RewriteEngine On | |
# Adaptive Images ----------------------------------------------------------------------------------- | |
# Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows: | |
RewriteCond %{REQUEST_URI} !^/ai-cache/ | |
RewriteCond %{REQUEST_URI} !^/typo3/ | |
# Send any GIF, JPG, or PNG request that IS NOT stored inside one of the above directories | |
# to adaptive-images.php so we can select appropriately sized versions | |
#RewriteRule \.(?:jpe?g|gif|png)$ clear.gif | |
RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php | |
# END Adaptive Images ------------------------------------------------------------------------------- | |
# Change this path, if your TYPO3 installation is located in a subdirectory of the website root. | |
RewriteBase / | |
... | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment