Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Apache
Posted by: Dylan Lopez
Added: Feb 17, 2018 1:00 AM
Views: 21
public_html
  1. # Apache for "Don't look at me."
  2. Options -Indexes
  3.  
  4. RewriteEngine On
  5. RewriteBase /
  6. <IfModule mod_rewrite.c>
  7.     RewriteCond %{REQUEST_FILENAME} !-f
  8.     RewriteCond %{REQUEST_FILENAME} !-d
  9.     RewriteRule ^(.*)$ index.php?/$1 [L]
  10. </IfModule>
  11.  
  12. <IfModule !mod_rewrite.c>
  13.     ErrorDocument 404 index.php
  14. </IfModule>