Skip to content

Commit

Permalink
[Unallocated#247] Update htaccess file after cron update.
Browse files Browse the repository at this point in the history
  • Loading branch information
nhepner1 committed Jan 22, 2015
1 parent cdc6953 commit 69feb02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docroot/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@ DirectoryIndex index.php index.html index.htm
# uncomment the following line:
# RewriteBase /

# AIS: Adaptive Image Style
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.+)/files/styles/adaptive/(.+)$
RewriteCond %{REQUEST_URI} !/modules/image/sample.png
RewriteCond %{HTTP_COOKIE} ais=([a-z0-9_-]+)
RewriteRule ^(.+)/files/styles/adaptive/(.+)$ $1/files/styles/%1/$2 [R=302,L]

# Pass all requests not referring directly to files in the filesystem to
# index.php. Clean URLs are handled in drupal_environment_initialize().
RewriteCond %{REQUEST_FILENAME} !-f
Expand Down

0 comments on commit 69feb02

Please sign in to comment.