Guest User

Untitled

a guest
Apr 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. server {
  2. rewrite ^(/.*)$ /?l=$1 last;
  3.  
  4. RewriteEngine On
  5. RewriteBase /path/to
  6. RewriteRule ^(.*)$ /index.php?l=$1
  7.  
  8. RewriteEngine on
  9. RewriteCond %{REQUEST_FILENAME} !-f
  10. RewriteCond %{REQUEST_FILENAME} !-d
  11. RewriteRule ^((?!index.php).+)$ /index.php?short=$1 [NC,L,QSA]
Add Comment
Please, Sign In to add comment