Advertisement
Guest User

Untitled

a guest
Jul 27th, 2012
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1.  location ~* ^/zzz/(.)/(.*) {
  2.                     rewrite "/zzz/(.)/([0-9,a-z] {2})([0-9,a-z] {2})" /$1/$2/$1$2(.*);
  3.                     root /home/project;
  4.             }
  5.  
  6. запрашиваю: sub.domain.com/zzz/0/4e0a3a54d3a5s4d3as54d3a54/file.dat
  7. лог пишет: "/home/project/zzz/0/4e0a3a54d3a5s4d3as54d3a54/file.dat" No such file or directory "GET /zzz/0/4e0a3a54d3a5s4d3as54d3a54/file.dat , host: "sub.domain.com"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement