xerif/podglad-forumweb/master/.htaccess - Htaccess File

xerif/podglad-forumweb/master/.htaccess

Options -Indexes
RewriteEngine On

RewriteRule podglad.php podglad-stats.php [QSA]
RewriteRule ^(?:a[wv]atar|av)(d+)?$ http://www.gravatar.com/avatar/%{TIME}?d=retro&s=$1 [L]

RewriteCond %{HTTP_REFERER} !noedit
RewriteRule ^(.*).gif$ gravatar.php?filename=$1&s=30 [L]

RewriteCond %{HTTP_REFERER} !noedit
RewriteRule ^(.*).png$ gravatar.php?filename=$1&s=50 [L]

RewriteCond %{HTTP_REFERER} !noedit
RewriteRule .jpe$ http://lorempixel.com/400/400/ [L]

RewriteCond %{HTTP_REFERER} !noedit
RewriteRule .jpg$ http://lorempixel.com/800/600/ [L]

RewriteCond %{HTTP_REFERER} !noedit
RewriteRule .jpeg$ http://lorempixel.com/800/600/ [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ http://placehold.it/$1

On Github License

Files

Download PDF of Htaccess file
HTTP_REFERER, REQUEST_FILENAME, TIME

Comments

Apache