wardvanderput/SumoStore/master/upload/.htaccess - Htaccess File

wardvanderput/SumoStore/master/upload/.htaccess

# For any support issues please visit: http://www.sumostore.net/
Options +FollowSymlinks
Options -Indexes

<FilesMatch ".(tpl|ini|log)">
    Order deny,allow
    Deny from all
</FilesMatch>

<IfModule mod_expires.c>
  ExpiresActive On
  <FilesMatch ".(flv|gif|jpe?g|js|png|ico|swf|css|svg|woff|ttf|eot)$">
    Header set Cache-Control "public"
    ExpiresDefault "access plus 1 year"
    Header unset ETag
    FileETag None
  </FilesMatch>
</IfModule>

RewriteEngine On
# If your SumoStore installation does not run on the main web folder make sure you alter RewriteBase accordingly
# I.E. If you run in /shop/, alter to RewriteBase /shop/
# Do not forget to remove the #, otherwise it won't work

#RewriteBase /

RewriteRule ^error/not_found.html$ index.php?route=error/not_found [L]
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteRule ^system/(.*) index.php?route=error/not_found [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*.(ico|gif|jpg|jpeg|png|js|css|eot|svg|ttf|woff|otf)) index.php?resource=$1 [NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

### Additional Settings that may need to be enabled for some servers
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" or a white page after
### enabling any of the following settings, restore the # as this means
### your host doesn't allow that.

# php_flag register_globals off
# php_flag magic_quotes_gpc Off
# php_value upload_max_filesize 999M
# php_value post_max_size 999M
# php_value max_execution_time 200
# php_value max_input_time 200
# php_admin_value open_basedir none

### Getting a white page? Uncomment these settings to display all errors
php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting 8191

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache