找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
楼主: cdseoo

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

[复制链接]

171

主题

337

回帖

1255

积分

金牌会员

积分
1255
发表于 2018-2-6 13:25:58 | 显示全部楼层
不fq播放ytb视频吗
回复

使用道具 举报

45

主题

397

回帖

997

积分

高级会员

积分
997
发表于 2018-2-6 13:27:09 | 显示全部楼层
虽然不知道有什么用,但还是感谢了
回复

使用道具 举报

0

主题

1

回帖

4

积分

新手上路

积分
4
发表于 2018-2-6 13:28:16 | 显示全部楼层

88232128 发表于 2018-2-6 13:27

我就想问怎么支持nginx,这个程序好像只支持apache

支持Nginx 但是规则要自己完善一下


是不是配合前几天爬的91视频要大干一场了
回复

使用道具 举报

233

主题

753

回帖

2259

积分

金牌会员

积分
2259
发表于 2018-2-6 13:28:42 | 显示全部楼层
我发过了
回复

使用道具 举报

33

主题

914

回帖

2003

积分

金牌会员

积分
2003
 楼主| 发表于 2018-2-6 13:30:49 | 显示全部楼层

zhongziso 发表于 2018-2-6 13:35

我发过了

对的哈~~

回复

使用道具 举报

16

主题

625

回帖

1366

积分

金牌会员

积分
1366
发表于 2018-2-6 13:31:49 | 显示全部楼层
首页那儿歌。。。
回复

使用道具 举报

33

主题

914

回帖

2003

积分

金牌会员

积分
2003
 楼主| 发表于 2018-2-6 13:35:13 | 显示全部楼层

洛克 发表于 2018-2-6 13:39

首页那儿歌。。。

洗脑神曲~
回复

使用道具 举报

303

主题

3626

回帖

8229

积分

论坛元老

积分
8229
发表于 2018-2-6 13:38:03 | 显示全部楼层
91爬虫
大盘鸡
网站模版

让不让人过年了!!!!
回复

使用道具 举报

78

主题

1469

回帖

3242

积分

论坛元老

积分
3242
发表于 2018-2-6 13:35:00 | 显示全部楼层

cdseoo 发表于 2018-2-6 13:30

支持Nginx 但是规则要自己完善一下

然而并不支持,不光是修复伪静态的问题
回复

使用道具 举报

20

主题

3342

回帖

6870

积分

论坛元老

积分
6870
发表于 2018-2-6 13:39:40 | 显示全部楼层

88232128 发表于 2018-2-6 13:27

我就想问怎么支持nginx,这个程序好像只支持apache

Nginx的伪静态文件:
[ol]
  • # nginx configuration
  • location / {
  •   if (!-e $request_filename){
  •     rewrite ^/$ /index.php?link1=home;
  •   }
  •   if (!-e $request_filename){
  •     rewrite ^/aj/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
  •   }
  •   rewrite ^/@([^\/]+)(\/|)$ /index.php?link1=timeline&id=$1;
  •   if (!-e $request_filename){
  •     rewrite ^/([^\/]+)(\/|)$ /index.php?link1=$1;
  •   }
  • }
  • location /reset {
  •   rewrite ^/reset-password/([^\/]+)(\/|)$ /index.php?link1=reset-password&code=$1;
  • }
  • location /confirm {
  •   rewrite ^/confirm/(.*)/(.*)$ /index.php?link1=confirm&code=$1&email=$2;
  • }
  • location /api {
  •   rewrite ^/api/v(([0-9])([.][0-9]+))(\/|)$ /api.php?v=$1;
  • }
  • location /admin {
  •   rewrite ^/admin-cp$ /admincp.php;
  •   rewrite ^/admin-cp/(.*)$ /admincp.php?page=$1;
  • }
  • location /admin-cdn/ {
  •   alias /admin-panel/;
  • }
  • location /videos {
  •   rewrite ^/videos/category/(.*)/rss(\/|)$ /index.php?link1=videos&page=category&id=$1&feed=rss;
  •   rewrite ^/videos/category/(.*)$ /index.php?link1=videos&page=category&id=$1;
  •   rewrite ^/videos/(.*)/rss(\/|)$ /index.php?link1=videos&page=$1&feed=rss;
  •   rewrite ^/videos/(.*)$ /index.php?link1=videos&page=$1;
  • }
  • location /articles {
  •   rewrite ^/articles(\/|)$ /index.php?link1=articles;
  •   rewrite ^/articles/category/(\d+)(\/|)$ /index.php?link1=articles&category_id=$1;
  •   rewrite ^/articles/read/(.*)(\/|)$ /index.php?link1=read&id=$1;
  • }
  • location /aj {
  •   rewrite ^/aj/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
  •   rewrite ^/aj/([^/.]+)/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2&second=$3;
  • }
  • location /edit {
  •   rewrite ^/edit-video/(.*)?$ /index.php?link1=edit-video&id=$1;
  • }
  • location /watch {
  •   rewrite ^/watch/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1;
  •   rewrite ^/watch/([^\/]+)/list/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1&list=$2;
  • }
  • location /embed {
  •   rewrite ^/embed/(.*)?$ /index.php?link1=embed&id=$1;
  • }
  • location /resend {
  •   rewrite ^/resend/(.*)/(.*)?$ /index.php?link1=resend&id=$1&u_id=$2;
  • }
  • location /redirect {
  •   rewrite ^/redirect/(.*)?$ /index.php?link1=redirect&id=$1;
  • }
  • location /settings {
  •   rewrite ^/settings/(.*)/(.*)$ /index.php?link1=settings&page=$1&user=$2;
  •   rewrite ^/settings/(.*)$ /index.php?link1=settings&page=$1;
  • }
  • location /terms {
  •   rewrite ^/terms/([^\/]+)(\/|)$ /index.php?link1=terms&type=$1;
  • }
  • location /go_pro {
  •   rewrite ^/go_pro(\/|)$ /index.php?link1=go_pro;
  • }
  • location /ads {
  •   rewrite ^/ads(\/|)$ /index.php?link1=ads;
  •   rewrite ^/ads/create(\/|)$ /index.php?link1=create_ads;
  •   rewrite ^/ads/edit/(\d+)(\/|)$ /index.php?link1=edit_ads&id=$1;
  • }
  • location /contact {
  •   rewrite ^/contact-us(\/|)$ /index.php?link1=contact;
  • }[/ol]复制代码
  • 回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-4-21 01:20 , Processed in 0.029634 second(s), 3 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

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