Advertisement
dganisha

.htacces

Oct 6th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{HTTPS} off
  3. RewriteCond %{REQUEST_FILENAME} != f
  4. RewriteCond %{REQUEST_FILENAME} !=d
  5. RewriteRule ^(.*)/(.*)$ index.php?konten=$1
  6. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  7.  
  8.  order deny,allow
  9.      allow from all
  10.      deny from 127.0.0.1
  11.      ErrorDocument 403 /maintenance.html
  12.      <Files pages_uc.html>
  13.      allow from all
  14.      </Files>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement