Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Joseph Orlando
Added: Mar 13, 2013 10:58 PM
Modified: Mar 13, 2013 11:00 PM
Views: 110
  1. # User Alias Redirection
  2. RewriteCond %{REQUEST_FILENAME} !-f
  3. RewriteCond %{REQUEST_FILENAME} !-d
  4. RewriteCond %{REQUEST_URI} !^/videos/
  5. RewriteRule ^(.*)  /index.php?user=$1  [QSA,L]
  6.  
  7. # STRONG HTACCESS PROTECTION
  8.  <Files ~ "^.*\.([Hh][Tt][Aa])">
  9.   order allow,deny
  10.   deny from all
  11.   satisfy all
  12.  </Files>