Guest User

.htaccess 2

a guest
Oct 12th, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. AddDefaultCharset UTF-8
  2.  
  3. php_value memory_limit 1024M
  4.  
  5. RewriteEngine on
  6. RewriteCond %{HTTP_HOST} ^(www.)?srad.wtf$
  7. RewriteCond %{REQUEST_URI} !^/public/
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-d
  10. RewriteRule ^(.*)$ /public/$1
  11. RewriteCond %{HTTP_HOST} ^(www.)?srad.wtf$
  12. RewriteRule ^(/)?$ public/index.php [L]
Add Comment
Please, Sign In to add comment