View: 4129|Reply: 1

PHPdisk English Version 7 - quản lý chia sẻ files.

[Copy link]
Posted on 15-5-2014 10:59:04 | Show all floors |Reading mode
PHPdisk là một tiện ích phát triển trên ngôn ngữ PHP, cho phép người dùng quản lý dữ liệu ( upload,download) chia sẻ trên mạng, tạo mã PIN chia sẻ với bạn bè.
fs-ndv-phpdisk.jpg

Download : PHPdisk phiên bản tiếng Anh ( English version 7.0)
phpdisk-v7-en.zip
Demo: http://fs.netdepviet.org
Reply

Use item Report

 OP| Posted on 1-11-2016 14:17:35 | Show all floors
SEO Rewrite URL for PHPdisk 7.0Trên Apache
  1. RewriteEngine On

  2. RewriteRule ^file-([0-9]+)\.html$ viewfile.php?file_id=$1&file_key=$2 [NC]
  3. RewriteRule ^viewfile-([0-9]+)-([a-z0-9]*)\.html$ downfile.php?action=view&file_id=$1&file_key=$2 [NC]
  4. RewriteRule ^downfile-([0-9]+)-([a-z0-9]*)\.html$ downfile.php?file_id=$1&file_key=$2 [NC]
  5. RewriteRule ^space-(.+)\.html$ space.php?username=$1 [NC]
Copy code

Trên IIS:

  1. [ISAPI_Rewrite]

  2. # 3600 = 1 hour
  3. CacheClockRate 3600

  4. RepeatLimit 32

  5. # Protect httpd.ini and httpd.parse.errors files
  6. # from accessing through HTTP

  7. RewriteRule ^(.*)/file-([0-9]+)\.html$ $1/viewfile\.php\?file_id=$2 [I]
  8. RewriteRule ^(.*)/downfile-([0-9]+)\.html$ $1/downfile\.php\?file_id=$2 [I]
  9. RewriteRule ^(.*)/space-(.+)\.html$ $1/space\.php\?username=$2 [I]
  10. RewriteRule ^(.*)/public-([0-9]+)-([0-9]+)\.html$ $1/public\.php\?pid=$2&cate_id=$3 [I]
  11. RewriteRule ^(.*)/public\.html$ $1/public\.php [I]
Copy code

Trên nginx

  1. rewrite ^(.*)/file-([0-9]+)\.html$ $1/viewfile.php?file_id=$2 last;
  2. rewrite ^(.*)/downfile-([0-9]+)\.html$ $1/downfile.php?file_id=$2 last;
  3. rewrite ^(.*)/space-(.+)\.html$ $1/space.php?username=$2 last;
  4. rewrite ^(.*)/public-([0-9]+)-([0-9]+)\.html$ $1/public.php?pid=$2&cate_id=$3 last;
  5. rewrite ^(.*)/public\.html$ $1/public.php last;
Copy code

Reply GOOD NORMAL

Use item Report

You need to log in to reply. Login | Register

Points Rules for This Section

Theo dõi bản tin
Archiver|Mobile|Facebook|Contact|Netdepviet.org

Giữ gìn bản sắc dân tộc · Trân trọng quá khứ, hướng tới tương lai。

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

InThis boardPost
Kết nối Zalo
Back to top