Bremaweb/streber/master/.htaccess - Htaccess File

Bremaweb/streber/master/.htaccess

# Cleanurls with Apache 2.0
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([0-9]+)$ index.php?go=itemView&id=$1 [L]
RewriteRule ^([a-zA-Z]+)$ index.php?go=globalView&id=$1 [L]

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A2592000
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType text/css A2592000
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType video/x-flv A604800
ExpiresByType application/pdf A604800
ExpiresByType text/html A1
</IfModule>

ErrorDocument 400 /streber/index.php
ErrorDocument 401 /streber/index.php
ErrorDocument 403 /streber/index.php
ErrorDocument 404 /streber/index.php
ErrorDocument 500 /streber/index.php

On Github License

Files

Download PDF of Htaccess file

Comments

Apache