全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: cdseoo

响应大佬号召,放出Playtube1.3.1(开心版)

  [复制链接]
发表于 2018-2-6 13:35:00 | 显示全部楼层
是不是配合前几天爬的91视频要大干一场了
 楼主| 发表于 2018-2-6 13:38:03 | 显示全部楼层

对的哈~~
发表于 2018-2-6 13:39:40 | 显示全部楼层
首页那儿歌。。。
 楼主| 发表于 2018-2-6 13:44:58 | 显示全部楼层
洛克 发表于 2018-2-6 13:39
首页那儿歌。。。

洗脑神曲~
发表于 2018-2-6 13:47:23 | 显示全部楼层
91爬虫
大盘鸡
网站模版

让不让人过年了!!!!
发表于 2018-2-6 13:54:33 | 显示全部楼层
cdseoo 发表于 2018-2-6 13:30
支持Nginx 但是规则要自己完善一下

然而并不支持,不光是修复伪静态的问题
发表于 2018-2-6 13:55:21 | 显示全部楼层
88232128 发表于 2018-2-6 13:27
我就想问怎么支持nginx,这个程序好像只支持apache

Nginx的伪静态文件:
  1. # nginx configuration

  2. location / {
  3.   if (!-e $request_filename){
  4.     rewrite ^/$ /index.php?link1=home;
  5.   }
  6.   if (!-e $request_filename){
  7.     rewrite ^/aj/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
  8.   }
  9.   rewrite ^/@([^\/]+)(\/|)$ /index.php?link1=timeline&id=$1;
  10.   if (!-e $request_filename){
  11.     rewrite ^/([^\/]+)(\/|)$ /index.php?link1=$1;
  12.   }
  13. }

  14. location /reset {
  15.   rewrite ^/reset-password/([^\/]+)(\/|)$ /index.php?link1=reset-password&code=$1;
  16. }

  17. location /confirm {
  18.   rewrite ^/confirm/(.*)/(.*)$ /index.php?link1=confirm&code=$1&email=$2;
  19. }

  20. location /api {
  21.   rewrite ^/api/v(([0-9])([.][0-9]+))(\/|)$ /api.php?v=$1;
  22. }

  23. location /admin {
  24.   rewrite ^/admin-cp$ /admincp.php;
  25.   rewrite ^/admin-cp/(.*)$ /admincp.php?page=$1;
  26. }

  27. location /admin-cdn/ {
  28.   alias /admin-panel/;
  29. }

  30. location /videos {
  31.   rewrite ^/videos/category/(.*)/rss(\/|)$ /index.php?link1=videos&page=category&id=$1&feed=rss;
  32.   rewrite ^/videos/category/(.*)$ /index.php?link1=videos&page=category&id=$1;
  33.   rewrite ^/videos/(.*)/rss(\/|)$ /index.php?link1=videos&page=$1&feed=rss;
  34.   rewrite ^/videos/(.*)$ /index.php?link1=videos&page=$1;
  35. }

  36. location /articles {
  37.   rewrite ^/articles(\/|)$ /index.php?link1=articles;
  38.   rewrite ^/articles/category/(\d+)(\/|)$ /index.php?link1=articles&category_id=$1;
  39.   rewrite ^/articles/read/(.*)(\/|)$ /index.php?link1=read&id=$1;
  40. }

  41. location /aj {
  42.   rewrite ^/aj/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
  43.   rewrite ^/aj/([^/.]+)/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2&second=$3;
  44. }

  45. location /edit {
  46.   rewrite ^/edit-video/(.*)?$ /index.php?link1=edit-video&id=$1;
  47. }

  48. location /watch {
  49.   rewrite ^/watch/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1;
  50.   rewrite ^/watch/([^\/]+)/list/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1&list=$2;
  51. }

  52. location /embed {
  53.   rewrite ^/embed/(.*)?$ /index.php?link1=embed&id=$1;
  54. }

  55. location /resend {
  56.   rewrite ^/resend/(.*)/(.*)?$ /index.php?link1=resend&id=$1&u_id=$2;
  57. }

  58. location /redirect {
  59.   rewrite ^/redirect/(.*)?$ /index.php?link1=redirect&id=$1;
  60. }

  61. location /settings {
  62.   rewrite ^/settings/(.*)/(.*)$ /index.php?link1=settings&page=$1&user=$2;
  63.   rewrite ^/settings/(.*)$ /index.php?link1=settings&page=$1;
  64. }

  65. location /terms {
  66.   rewrite ^/terms/([^\/]+)(\/|)$ /index.php?link1=terms&type=$1;
  67. }

  68. location /go_pro {
  69.   rewrite ^/go_pro(\/|)$ /index.php?link1=go_pro;
  70. }

  71. location /ads {
  72.   rewrite ^/ads(\/|)$ /index.php?link1=ads;
  73.   rewrite ^/ads/create(\/|)$ /index.php?link1=create_ads;
  74.   rewrite ^/ads/edit/(\d+)(\/|)$ /index.php?link1=edit_ads&id=$1;
  75. }

  76. location /contact {
  77.   rewrite ^/contact-us(\/|)$ /index.php?link1=contact;
  78. }
复制代码
发表于 2018-2-6 14:15:45 | 显示全部楼层
大佬能写个宝塔教程吗,谢谢大佬。
发表于 2018-2-6 14:34:12 | 显示全部楼层
自己做个后花园,也是极好的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-25 19:04 , Processed in 0.060182 second(s), 5 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表