WISVCH/wisv.ch/master/.htaccess - Htaccess File

WISVCH/wisv.ch/master/.htaccess

#
# original author: Hylke Visser (@htdvisser)
#
DirectoryIndex index.html

# remove the next 3 lines if you see a 500 server error
#php_flag register_globals off
#php_flag magic_quotes_gpc off
#php_value display_errors 0

FileETag none
ServerSignature Off

Options All -Indexes

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9a-zA-Z]+)[//]*$ /redirect.php?url=$1 [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache