Advertisement
Guest User

Untitled

a guest
Jun 10th, 2014
264
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # test/.htaccess
  2. <IfModule mod_rewrite.c>
  3. RewriteEngine On
  4. RewriteRule ^$ public/ [L]
  5. RewriteRule (.*) public/$1 [L]
  6. </IfModule>
  7.  
  8. # test/public/.htaccess
  9.  
  10. AddDefaultCharset UTF-8
  11. <IfModule mod_rewrite.c>
  12. RewriteEngine On
  13. RewriteCond %{REQUEST_FILENAME} !-d
  14. RewriteCond %{REQUEST_FILENAME} !-f
  15. RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
  16. </IfModule>
Advertisement
RAW Paste Data Copied
Advertisement