learn2me/simpleblog/master/public_html/.htaccess - Htaccess File

learn2me/simpleblog/master/public_html/.htaccess

AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>

    RewriteEngine On
  
  RewriteCond %{HTTP_USER_AGENT} libwww-perl.* 
  RewriteRule .* – [F,L]  
  
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
    
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_USER_AGENT, REQUEST_FILENAME

Comments

Apache