网站安装好了,但是填写备案号之后不能跳转

By xihuheyi at 2018-08-11 • 0人收藏 • 2388人看过

https://www.bugrank.com/网站是这个

备案信息填写了不能跳转工信部网站,https://www.bugrank.com/www.miitbeian.gov.cn

怎么解决啊

17 个回复 | 最后更新于 2018-08-18
2018-08-11   #1

image.png

点击链接后能跳转呀!

image.png

2018-08-11   #2

我弄好了,

我把工信部首页搬过来了,http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action;jsessionid=5T8lCIjgkBD5rMU4OJJhW9S16fn2XwIapzi-9eh65uc2Bqa0CztR!-736616813

然后才能跳转,直接用那个域名跳转不了。

2018-08-11   #3

像本站一样把备案写在侧栏就好了。

还有,刷帖警告

2018-08-11   #4

回复#3 @ihackeranother :

image.png

2018-08-11   #5

回复#4 @学神之女 :

我可以伪造Token。

2018-08-11   #6

回复#3 @ihackeranother :

放在侧栏还是一样的不会跳转域名,打开就是这个https://www.bugrank.com/www.miitbeian.gov.cn加上404

2018-08-11   #7

image.png

如何批量删除?大佬,求放过,我是个小白

2018-08-11   #8

回复#5 @ihackeranother :

你赢了,我不会删帖子,换个系统了。

2018-08-11   #9

回复#8 @xihuheyi :

一条SQL就可以删除的。

DELETE from topics where id=`ihackerspammer`;


2018-08-11   #10

回复#6 @xihuheyi :

链接没加https://前缀

2018-08-12   #11

回复#9 @ihackeranother :

你这人好坏!但还是有善良的一面的,至少提供了恢复方法。


不过楼主 @xihuheyi 还是不要换了,Carbon算是很好的论坛了!

一个回复还要改好几遍,坑!

2018-08-12   #12

回复#10 @ihackeranother :

还是谢谢了,本来在安装其他程序了,但是卡在ngix那一步,下不去,回来了。

2018-08-12   #13

回复#11 @学神之女 :

谢谢,没技术还是不行,安装其他的程序安装不下去,没技术难受

2018-08-12   #14

回复#13 @xihuheyi :

这个,我知道怎么安装(懂点技术的基本都会),我也知道什么论坛软件好用。有疑问可以询问我。

2018-08-12   #15

回复#14 @学神之女 :

大佬,phpdish安装到这一步就不会了

生产环境

  • 如果你是 Apache 用户,直接添加一个 vhost 配置即可;

    注意web根目录是 phpdish 下的 web 目录

  • 如果你是 Nginx 用户 拷贝本文件夹下的 nginx/phpdish.conf,按照提示修改你的配置 然后复制内容到你的 nginx.conf 文件里的 http 模块内即可。

没有具体的操作那种,摸不着头脑,可以解答下吗

2018-08-12   #16

回复#15 @xihuheyi :

我从你给的链接中找到的Nginx配置文件:

server {    
# 监听端口    
listen 80;    
# 域名    
server_name www.phpdish.io;    
# 访问日志    
access_log /path/to/access/log;    
# 错误日志    
error_log  /path/to/errors/log;    
index index.html index.htm  app.php;    
# web根目录    
root /path/to/phpdish/web;    
location ~ [^/]\.php(/|$) {    
# window 用户一般是这个,注意要事先启动 php-cgi    
fastcgi_pass 127.0.0.1:9000;    
# linux 用户首选这个,注意sock文件位置是否准确    
#fastcgi_pass unix:/dev/shm/php-cgi.sock;    
fastcgi_index app.php;    
include fastcgi.conf;    
}    
location / {    
index app.php;    
try_files $uri @phpdish;    
}    
# 图片缓存30天    
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {    
if (-f $request_filename) {    
expires 30d;    
access_log off;    
}    
try_files $uri @phpdish;    
}    
# 静态文件缓存七天    
location ~ .*\.(js|css)?$ {    
expires 7d;    
access_log off;    
}    
location ~ /\.ht {    
deny all;    
}    
location @phpdish {    
rewrite ^(.*)$ /app.php/$1 last;    
}    
}

提示非常明显了,按照注释行下的配置修改即可。

如果怕改坏了,可以和nginx.conf做对比进行修改,然后覆盖nginx.conf。

通常不需要太大的修改

参考例子:

server { 
#本地测试,81端口,按需进一步修改   
# 监听端口    
listen 81;    
# 域名    
server_name 127.0.0.1;    
# 访问日志    
access_log D:/phpStudy/phpTutorial/Nginx/accessLogs;    
# 错误日志    
error_log  D:/phpStudy/phpTutorial/Nginx/errorLogs;    
index index.php index.html index.htm  app.php;    
# web根目录    
root D:/DemoSite/Projects/MlTree-Forum;#以前做过对这个软件的测试,但以下配置和本软件无关。    
location ~ [^/]\.php(/|$) {    
# window 用户一般是这个,注意要事先启动 php-cgi    
fastcgi_pass 127.0.0.1:9000;    #不要的话在此行前加入“#”
# linux 用户首选这个,注意sock文件位置是否准确    
#fastcgi_pass unix:/dev/shm/php-cgi.sock;    
fastcgi_index app.php;    
include fastcgi.conf;    
}    
location / {    
index index.php app.php;    
try_files $uri @phpdish;    
}    
# 图片缓存30天    
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {    
if (-f $request_filename) {    
expires 30d;    
access_log off;    
}    
try_files $uri @phpdish;    
}    
# 静态文件缓存七天    
location ~ .*\.(js|css)?$ {    
expires 7d;    
access_log off;    
}    
location ~ /\.ht {    
deny all;    
}    
location @phpdish {    
rewrite ^(.*)$ /app.php/$1 last;    
}    
}

如果想要更详细的修改,可以参考Nginx配置教程。

2018-08-18   #17

谢谢大佬细心帮助,回老家了都没看到,不好意思

登录后方可回帖

登 录
信息栏

Carbon Forum是一个基于话题的高性能轻型PHP论坛

下载地址:Carbon Forum v5.9.0
QQ群:12607708(QQ我不常上)

donate

手机支付宝扫描上方二维码可向本项目捐款

粤公网安备 44030602003677号
粤ICP备17135490号

Loading...