Teplitsa/ITVolunteer/master/.htaccess - Htaccess File

Teplitsa/ITVolunteer/master/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteBase /
#RewriteBase /sitefolder/

RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]
#RewriteRule . /sitefolder/index.php [L]

#Hide Apache version
ServerSignature Off
# Stop wordpress username enumeration vulnerability
RewriteCond %{REQUEST_URI}  ^/$
RewriteCond %{QUERY_STRING} ^/?author=([0-9]*)
RewriteRule ^(.*)$ /? [L,R=301]
</IfModule>
Options All -Indexes

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING, REQUEST_FILENAME, REQUEST_URI

Comments

Apache