actridge/disposeamail.com/master/www/.htaccess - Htaccess File

actridge/disposeamail.com/master/www/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On
  
  # Reroute any incoming request that is not an existing directory or file
  RewriteCond %{REQUEST_FILENAME} !-f
  # Prevent common static files from being loaded as pages
  RewriteCond %{REQUEST_URI} !.*.(ico|txt|css|jpg|jpeg|png|gif|bmp|zip|js|pdf)$
  RewriteRule ^(.*)$ index.php?u=$1 [L,QSA]
</IfModule>

ErrorDocument 404 /index.php?u=error/404
ErrorDocument 500 /index.php?u=error/500

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI, static

Comments

Apache